Genrerate adminlte cruds for models
Project description
ajaxlte
Requirements
- Python = 3
- Django >= 3.05
- django-crispy-forms >= 1.9.0
Installation
pip install django-grappelli-extras
settings.py
- Put 'grappelli_extras' before 'grappelli' on INSTALLED_APPS
# Your setting will look like:
INSTALLED_APPS = [
'ajaxlte',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
# continue with your apps
]
- Put 'applist' in your active context_processors.
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
urls.py
- Put grappelli extras urls in 'urlpatterns':
# Your urls will look like:
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('ajalte/', include('ajaxlte.urls')),
]
Available features:
-
class based views Rewritable methods for class based views.
-
adminlte 3.0 Using adminlte template 3.0.
-
Traslation Traslation Suport by Locales.
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
django-ajaxlte-1.0.0.tar.gz
(7.8 MB
view details)
File details
Details for the file django-ajaxlte-1.0.0.tar.gz
.
File metadata
- Download URL: django-ajaxlte-1.0.0.tar.gz
- Upload date:
- Size: 7.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d70698db3acb5ffb85c571e0e1d22c4addf1fbbc8079dfce33a137a99048157 |
|
MD5 | 83468b46f8f0852b7691d279c53eae7c |
|
BLAKE2b-256 | 2e3e9ffde9d37384fb3ce6f5439f0ae1a3428178f9c341e4a0a4d0981d51ad30 |