Skip to main content

An extension of the Django admin application with special features

Project description

PyPI Pylint Django CI Upload Python Package

django-intra

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': ['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.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

django_intra-0.2.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file django-intra-0.2.1.tar.gz.

File metadata

  • Download URL: django-intra-0.2.1.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

Hashes for django-intra-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8350786e8c91baa42f5d30c9df0e38fbdcde59427347525934b7947b9740a711
MD5 405d39484b5786240ded6f7238ee6127
BLAKE2b-256 23d58fd50ce123a1e788c1968e4b57b0c3e48d0c8864e3e2b58065514d9d71a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_intra-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c899d272dfda6235c27b6eaa0b8adfe87a92559aa416115cb76d912cded61df
MD5 2c937918595e52f2932a608e5b26355a
BLAKE2b-256 f6bf253025b426597c6c8656f8e2ec1e01be961746426e79fb43afdc5b69c63d

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