Metadata-Version: 2.3
Name: django-nominopolitan
Version: 0.2.29
Summary: Neapolitan with namespaces - Django CRUD views
Author: doctor-cornelius
Requires-Python: >=3.12,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: django-htmx (>=1.23.2,<2.0.0)
Requires-Dist: django-template-partials (>=24.4,<25.0)
Requires-Dist: pydantic (>=2.10.6,<3.0.0)
Description-Content-Type: text/markdown

# Django Nominopolitan

> 📢 **IMPORTANT:**
> **This project has been renamed to [`django-powercrud`](https://github.com/doctor-cornelius/django-powercrud).**
> 
> All future development will happen on the new repository. Please update your dependencies:
> ```bash
> pip uninstall django-nominopolitan
> pip install django-powercrud
> ```
> For full documentation refer to [`django-powercrud`: Getting Started](https://doctor-cornelius.github.io/django-powercrud/getting_started/)


---

**An opinionated extension for [`neapolitan`](https://github.com/carltongibson/neapolitan) that adds the advanced CRUD features you usually have to build yourself.**

*This README is kept for reference only. See [`django-powercrud`](https://github.com/doctor-cornelius/django-powercrud) for current documentation.*

## What is Nominopolitan?

The [`neapolitan`](https://github.com/carltongibson/neapolitan/) package gives you a solid foundation for Django CRUD views. But you still need to add filtering, bulk operations, modern UX features, and styling yourself.

Nominopolitan comes with these features built-in, specifically for user-facing CRUD interfaces. Use what you need, customize what you want.

> ⚠️ **WARNING:** 
> This is a **very early alpha** release with limited tests and documentation. Expect breaking changes. You might prefer to fork or copy what you need.

See the [full documentation](https://doctor-cornelius.github.io/django-nominopolitan/).

## Key Features

🎯 **Advanced CRUD Operations** - Filtering, bulk edit/delete, and pagination out of the box  
⚡ **Modern Web UX** - HTMX integration, modals, and reactive updates  
🎨 **Multiple CSS Frameworks** - daisyUI/Tailwind (default) and Bootstrap 5 support  
🔧 **Developer Friendly** - Convention over configuration with full customization options  

## Quick Example

Start with basic neapolitan:

```python
# Basic neapolitan
class ProjectView(CRUDView):
    model = Project
```

Add Nominopolitan for advanced features:

```python
# With Nominopolitan
class ProjectView(NominopolitanMixin, CRUDView):
    model = Project
    fields = ["name", "owner", "status"]
    base_template_path = "core/base.html"
    
    # Modern features
    use_htmx = True
    use_modal = True
    
    # Advanced filtering
    filterset_fields = ["owner", "status", "created_date"]
    
    # Bulk operations
    bulk_fields = ["status", "owner"]
    bulk_delete = True
    
    # Enhanced display
    properties = ["is_overdue", "days_remaining"]
```

## Getting Started

1. **[Installation](getting_started.md#installation-dependencies)** - Install and configure in minutes
2. **[Quick Start](getting_started.md#quick-start-tutorial)** - Your first Nominopolitan view
3. **[Configuration](configuration/core_config.md)** - Explore the features

