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 details)
Built Distribution
File details
Details for the file neapolitan-23.1.tar.gz
.
File metadata
- Download URL: neapolitan-23.1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f8fd5a3093048078d70291b6f2aa85b10f536c00e45f1b9d792635c3e2b3bde |
|
MD5 | 34f910ad5fbae66de7cc22e73b5141b1 |
|
BLAKE2b-256 | 3148ff79df0d556092d8800879a9069472dfbe7b48423b42488fa5f25b66aad6 |
File details
Details for the file neapolitan-23.1-py2.py3-none-any.whl
.
File metadata
- Download URL: neapolitan-23.1-py2.py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33a83b8b3bcc90890f64ef2b32cf2ece8e8833c535213176d402cf4a4719b0a6 |
|
MD5 | 6746a8a7100482ea64a1be7ad7be8895 |
|
BLAKE2b-256 | e14b7749c2f1ec2b4a252d7e4e5ded5200f62bc8b255769559aa6385f5bdffbc |