Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

django-cruds-adminlte

django-cruds-adminlte is simple drop-in django app that creates CRUD (Create, read, update and delete) views for existing models and apps.

django-cruds-adminlte goal is to make prototyping faster.

History and goal

Developers spends a lot of time just doing cruds, Django built-in admin was pretty and really nice… years ago. Right now customers (and people in general) are more used to the web and they want to change whatever on their smartphones, upload images cropping the important part, they’re used to select2 (or similar) in selects with so many options, etc..

A friend of mine told me to try backpack for laravel (https://backpackforlaravel.com/), well in fact he showed me a demo. I was impressed with what he could do just configuring a bit the models and the forms:

  • Responsive design, more or less I guess you could use django-flat-responsive for that

  • Tabbed forms: really easy to place fields in tabs, imho much more useful for the end user if the form is complex and has many fields (I’ve found nothing similar for django’s admin)

  • Wrappable fields: You can define the wrapper of the label+input (col-6, col-12), so it’s easy to place fields side-by-side or 3 in a row, etc… You can do the same with django-crispy-forms but I’ve seen no easy way to integrate it on django’s admin. Note from @spookylukey: There is a really easy way to put the fields side-by-side in the django’s contrib admin.

  • Select2 for selects with fk, etc… I’ve tried django-select2 + django-easy-select2 with not too much luck (I’m sure it was my fault), didn’t know django-autocomplete-light tbh.

  • Lots of widgets depending on the type of field (44+ field types: date, time, datetime, toggle, video…).

  • Lots of columns - the field representation in a listing table - (images, data with/without link, buttons, extra buttons…).

  • Reordering - nested sortable - (something similar to django-mptt)…

After seeing all that stuff I felt a bit shocked, started to look for something similar for django (for the built-in admin or some other piece of code that gives me something closer). I’ve tried django-material, django-jet, grappelli, django-adminlte2, djadmin, django-flat-responsive… but in the end I felt that only a cocktail with some of them could do the job. I did a list of soft and features (similar to the above’s one) and, in the end, I’ve started to think that if I had that need, why not to make it public and test if the community feels same “lacks” than me?. That’s the story behind this project.

Crazy? yep, I felt myself really weird after read Jacob’s post (https://jacobian.org/writing/so-you-want-a-new-admin/) but I needed to make the project public.

Features

  • Responsive design: django-adminlte2

  • Tabbed forms: django-crispy-forms

  • Wrappable fields: django-crispy-forms

  • Image cropping: django-image-cropping (custom widget)

  • something for select2 (custom widget)

  • something for other file types (upload, multiple upload, date, time, color etc…) (custom widgets)

  • Reordering: django-mptt

  • Easy to understand/adapt: A cruds mixin with CBV was a good idea, I’ve found https://github.com/bmihelac/django-cruds and it rang the definitely bell here

  • Easy to extend (anyone could contribute with new widgets or behaviors, inlines, search, filters…)

Online Resources

Screenshots

https://raw.githubusercontent.com/oscarmlage/django-cruds-adminlte/master/docs/images/cruds-list.png https://raw.githubusercontent.com/oscarmlage/django-cruds-adminlte/master/docs/images/cruds-select2.png https://raw.githubusercontent.com/oscarmlage/django-cruds-adminlte/master/docs/images/cruds-tabs.png https://raw.githubusercontent.com/oscarmlage/django-cruds-adminlte/master/docs/images/cruds-cropping.png https://raw.githubusercontent.com/oscarmlage/django-cruds-adminlte/master/docs/images/cruds-inlines.png https://raw.githubusercontent.com/oscarmlage/django-cruds-adminlte/master/docs/images/cruds-ckeditor.png https://raw.githubusercontent.com/oscarmlage/django-cruds-adminlte/master/docs/images/cruds-custom-sidebar.png https://raw.githubusercontent.com/oscarmlage/django-cruds-adminlte/master/docs/images/cruds-responsive.png

Metadata

Release files for django-cruds-padminlte 0.0.13a5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-cruds-padminlte 0.0.13a5
File Size Uploaded
django-cruds-padminlte-0.0.13a5.tar.gz 5.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-cruds-padminlte 0.0.13a5
File Interpreter ABI Platform
django_cruds_padminlte-0.0.13a5-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 MB

Release files / django-cruds-padminlte-0.0.13a5.tar.gz

Download URL django-cruds-padminlte-0.0.13a5.tar.gz
Size 5.6 MB
Tags Source
SHA-256 checksum
How to use checksums
be3a3c1e2fcc9b0163efee31f384d36a691f2ace658c3c1aa7b7bca3a5c9de12
BLAKE2b-256 checksum
How to use checksums
b484a0061f7506155094daf80cdbb213875b855f7b7d5bedb5c1075665a43c60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2

Release files / django_cruds_padminlte-0.0.13a5-py3-none-any.whl

Download URL django_cruds_padminlte-0.0.13a5-py3-none-any.whl
Size 6.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d200f0f14d6f2afd8723097ff74366598fdffd3037b9bef43773d5e7bc6bbf43
BLAKE2b-256 checksum
How to use checksums
893f453bbc4ed8b981fe27f9fbec1c4b16cd8101635348d43638af7ceb5d5607
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page