Installez django-cruds-adminlte
url(r'^accounts/login/$', auth_views.login, name='login'),
url(r'^logout/$', auth_views.logout, name='logout'),
Installez django-cruds-adminlte
url(r'^accounts/login/$', auth_views.login, name='login'),
url(r'^logout/$', auth_views.logout, name='logout'),
Installez django-cruds-adminlte
pip install django-crispy-forms
pip install easy-thumbnails
pip install django-image-cropping
pip install djangoajax
Installez django-cruds-adminlte
$ pip install django-cruds-adminlte
Installez django-cruds-adminlte
TIME_FORMAT= 'h:i A'
DATETIME_FORMAT='m/d/Y H:i:s'
DATE_FORMAT="m/d/Y"
TIME_INPUT_FORMATS = ['%I:%M %p']
Installez django-cruds-adminlte
# django-cruds-adminlte
from cruds_adminlte.urls import crud_for_app
urlpatterns += crud_for_app('testapp')
Installez django-cruds-adminlte
urlpatterns += crud_for_app('app_one', login_required=True,
check_perms=True, cruds_url='myadmin')
urlpatterns += crud_for_app('app_two', login_required=False,
check_perms=True, cruds_url='myadmin')
from testapp.forms import CustomerForm, InvoiceForm
custom_forms = {
'add_customer': CustomerForm,
'update_customer': CustomerForm,
'add_invoice': InvoiceForm,
'update_invoice': InvoiceForm,
}
urlpatterns += crud_for_app('app_three', login_required=True,
check_perms=True, cruds_url='myadmin',
modelforms=custom_forms)
Installez django-cruds-adminlte
INTERNAL_IPS = ('127.0.0.1',)
Installez django-cruds-adminlte
INSTALLED_APPS = (
...
'crispy_forms',
'django_select2',
'easy_thumbnails',
'image_cropping',
'django_ajax',
'cruds_adminlte'
)
Installez django-cruds-adminlte
from django.apps import apps
from cruds_adminlte.urls import crud_for_model
urlpatterns += crud_for_model(apps.get_model('testapp', 'Author'))
Installez django-cruds-adminlte
pip install django-cruds-adminlte
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us