An extension of the Django admin application with special features
Project description
django-intra
Docs
https://ahmdhjj.github.io/django-intra/
Installation
pip install django-intra
Settings
In your settings file:
-
Add
'intra'
toINSTALLED_APPS
. -
Add
'intra/templates'
to theDIRS
option in theTEMPLATES
setting:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['intra/templates'],
'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',
],
},
},
]
URL configuration
from django.urls import path, include
urlpatterns = [
...
path('admin/', include('intra.urls')),
...
]
Make sure to remove the default AdminSite
instance django.contrib.admin.site
at the URL /admin/
, i.e. remove the line below:
path('admin/', admin.site.urls),`
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-intra-0.2.0.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file django-intra-0.2.0.tar.gz
.
File metadata
- Download URL: django-intra-0.2.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05f892b31ced194f3285e6f4151ccd4bf76b66e910d11404c8b2cfbaf1d01a49 |
|
MD5 | 23eca0376d7a327bfbfd5a2d2196ad23 |
|
BLAKE2b-256 | 0f8dc36f28d21cf32721989ae6575abc2e36263944589558f60b1a279d676b0f |
File details
Details for the file django_intra-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: django_intra-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a79f279c1590441ec23b4af318d4a7d4757bbb7dd1473586bc9017c25a7294d3 |
|
MD5 | 49241a8d968f679a5d7d9381d1e48d15 |
|
BLAKE2b-256 | 0b7ca9d7848c5be8b1804852dc87da51bf3871324e43ba9a3c71c5ae270417b6 |