Skip to main content

An extension of the Django admin application with special features

Project description

PyPI codecov

Pylint Django CI Upload Python Package docs

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:

  1. Add 'intra' to INSTALLED_APPS.

  2. Add 'intra/templates' to the DIRS option in the TEMPLATES 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)

Uploaded Source

Built Distribution

django_intra-0.2.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

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

Hashes for django_intra-0.2.2.tar.gz
Algorithm Hash digest
SHA256 bb85d2c3d013083d42604af8dd1c1406f029726e4538cb861e1ffb1507b84613
MD5 54aec791525e87f91b9f09b09a056412
BLAKE2b-256 3ee8eaddb143c9c0b236e3b35e22047a9829abd933f6ff058ba7e606dddf4a5c

See more details on using hashes here.

File details

Details for the file django_intra-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_intra-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3c1370aa45ad5db573272bf5680298f3edbe2ed61bc38ffb610d1962b7479d23
MD5 6a70c24a1f494598d80ca5aeb12e50c3
BLAKE2b-256 145f7b779bfb3f5116c7c059b08fcb6eb60e7804bd275fff8dbc8e29290a0e53

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page