Grappelli
This commit is contained in:
parent
5d52875d90
commit
95cc7235b0
4 changed files with 8 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
|||
venv
|
||||
staticfiles
|
||||
*.py[cod]
|
||||
*.pyc
|
||||
__pycache__
|
||||
|
|
|
@ -24,6 +24,7 @@ DJANGO_APPS = (
|
|||
'django.contrib.staticfiles',
|
||||
|
||||
# Admin
|
||||
'grappelli',
|
||||
'django.contrib.admin',
|
||||
)
|
||||
THIRD_PARTY_APPS = (
|
||||
|
@ -161,6 +162,7 @@ TEMPLATES = [
|
|||
'django.template.context_processors.tz',
|
||||
'django.contrib.messages.context_processors.messages',
|
||||
'django.core.context_processors.request',
|
||||
'django.core.context_processors.request',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -226,5 +228,6 @@ AUTOSLUG_SLUGIFY_FUNCTION = 'slugify.slugify'
|
|||
|
||||
# Location of root django.contrib.admin URL, use {% url 'admin:index' %}
|
||||
ADMIN_URL = r'^admin/'
|
||||
GRAPPELLI_ADMIN_TITLE = 'CCDB'
|
||||
|
||||
# Your common stuff: Below this line define 3rd party library settings
|
||||
|
|
|
@ -13,6 +13,7 @@ urlpatterns = [
|
|||
url(r'^about/$', TemplateView.as_view(template_name='pages/about.html'), name="about"),
|
||||
|
||||
# Django Admin, use {% url 'admin:index' %}
|
||||
url(r'^grappelli/', include('grappelli.urls')), # grappelli URLS
|
||||
url(settings.ADMIN_URL, include(admin.site.urls)),
|
||||
|
||||
# User management
|
||||
|
|
|
@ -30,3 +30,6 @@ django-bootstrap3==6.2.2
|
|||
|
||||
# Data grids
|
||||
django-tables2==1.0.4
|
||||
|
||||
# Admin
|
||||
django-grappelli==2.7.3
|
||||
|
|
Loading…
Add table
Reference in a new issue