Neapolitan
Project description
I have a Django model:
from django.db import models class Bookmark(models.Model): url = models.URLField(unique=True) title = models.CharField(max_length=255) note = models.TextField(blank=True)
I want easy CRUD views for it, without it taking all day:
# urls.py from neapolitan.views import CRUDView class BookmarkView(CRUDView): model = Bookmark fields = ["url", "title", "note"] urlpatterns = [ ... ] + BookmarkView.get_urls()
Neapolitan’s CRUDView provides the standard list, detail, create, edit, and delete views for a model, as well as the hooks you need to be able to customise any part of that.
Neapolitan provides base templates and re-usable template tags to make getting your model on the page as easy as possible.
Where you take your app after that is up to you. But Neapolitan will get you started.
Let’s go! 🚀
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
neapolitan-23.3.tar.gz
(11.5 kB
view details)
Built Distribution
File details
Details for the file neapolitan-23.3.tar.gz
.
File metadata
- Download URL: neapolitan-23.3.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d764b3b59b4cd8e546b04c6eecee27ca5f9790aa8bb586d40988a7e4551822a |
|
MD5 | a407748140425a1c1a31861522912427 |
|
BLAKE2b-256 | dfd8b40b5410ebb14a4be577b00b2092baf8d07192f33db9978c14294af651cc |
File details
Details for the file neapolitan-23.3-py2.py3-none-any.whl
.
File metadata
- Download URL: neapolitan-23.3-py2.py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8557bcb50ad9b763e138396282094e436110d05166e9eb817d74f4e7a59d5168 |
|
MD5 | 3f086ec7a553b1dfbfaf88c7e78eaaee |
|
BLAKE2b-256 | 1ec4dacd04fae280cab069af8232b9ce6487b2eb3a9e932e5cd8a5467f9bd44e |