Skip to main content

Djangoadmin: Django Reusable Admin Application.

Project description

Djangoadmin : Django Reusable Admin Application.

Djangoadmin is a Reusable Django app which provides admin featured like signup, login, profile, change password, reset password by email, send email, and many more. The Djangoadmin's extended Model is rich features and powerful enough, You can start with Djangoadmin without installation of any 3rd party packages.


Installation :

You can install Djangoadmin from PyPI using pip.

pip install djangoadmin


Configuration :

1. Open the settings.py module of your project, And put djangoadmin into INSTALLED_APPS.

INSTALLED_APPS = (
    ...
    'djangoadmin',
    ...
)

2. Open the urls.py module of your project, And include djangoadmin URLs.

urlpatterns = [
    ...
    re_path(r'^djangoadmin/', include('djangoadmin.urls')),
    ...
]

3. Setup the Templates for djangoadmin.

Important Note: Djangoadmin App is a part of Djangoengine project. And if you want to access UI part of Djangoadmin App, You need to configure some Reusable/global templates to your django project or you can create your own templates, It's very easy.

TEMPLATES = [
    ...
    ...
    'DIRS': [os.path.join(BASE_DIR, 'templates'),],
    ...
    ...
]

Create the templates folder inside BASE_DIR and Then create djangoadmin folders inside the templates folder. Then download the djangoadmin templates and put them inside the djangoadmin folder.

4. Static files configuration. Open your settings.py module and Configure Static files and media files or you can can use your own configuration.

STATIC_URL = '/static/'
STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static-local'),)
STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'static-root', 'static')

MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'static-root', 'media')

Create the static-local folder inside BASE_DIR, Then create djangoadmin folders inside that static-local folder. And also download the djangoadmin static files and put them inside the djangoadmin folder.


Complete the Djangoadmin setup by running the following command one by one in the sequence.

python manage.py makemigrations djangoadmin
python manage.py migrate djangoadmin
python manage.py collectstatic
python manage.py runserver

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for djangoadmin, version 1.0.4
Filename, size & hash File type Python version Upload date
djangoadmin-1.0.4-py3-none-any.whl (17.6 kB) View hashes Wheel py3
djangoadmin-1.0.4.tar.gz (11.8 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page