An extension of the Django admin application with special features
Project description
django-intra
About
An extension of the Django admin application with special features including:
- Adding admin site log entries
- Enabling a password reset feature
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': [os.path.join(BASE_DIR, '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.2.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file django_intra-0.2.2.tar.gz
.
File metadata
- Download URL: django_intra-0.2.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb85d2c3d013083d42604af8dd1c1406f029726e4538cb861e1ffb1507b84613 |
|
MD5 | 54aec791525e87f91b9f09b09a056412 |
|
BLAKE2b-256 | 3ee8eaddb143c9c0b236e3b35e22047a9829abd933f6ff058ba7e606dddf4a5c |
File details
Details for the file django_intra-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: django_intra-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c1370aa45ad5db573272bf5680298f3edbe2ed61bc38ffb610d1962b7479d23 |
|
MD5 | 6a70c24a1f494598d80ca5aeb12e50c3 |
|
BLAKE2b-256 | 145f7b779bfb3f5116c7c059b08fcb6eb60e7804bd275fff8dbc8e29290a0e53 |