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()
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.1.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for neapolitan-23.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33a83b8b3bcc90890f64ef2b32cf2ece8e8833c535213176d402cf4a4719b0a6 |
|
MD5 | 6746a8a7100482ea64a1be7ad7be8895 |
|
BLAKE2b-256 | e14b7749c2f1ec2b4a252d7e4e5ded5200f62bc8b255769559aa6385f5bdffbc |