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.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for django-intra-0.2.0.tar.gz
Algorithm Hash digest
SHA256 05f892b31ced194f3285e6f4151ccd4bf76b66e910d11404c8b2cfbaf1d01a49
MD5 23eca0376d7a327bfbfd5a2d2196ad23
BLAKE2b-256 0f8dc36f28d21cf32721989ae6575abc2e36263944589558f60b1a279d676b0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_intra-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a79f279c1590441ec23b4af318d4a7d4757bbb7dd1473586bc9017c25a7294d3
MD5 49241a8d968f679a5d7d9381d1e48d15
BLAKE2b-256 0b7ca9d7848c5be8b1804852dc87da51bf3871324e43ba9a3c71c5ae270417b6

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