Skip to content

Django middleware to view exception debugging page only allowed IP

License

Notifications You must be signed in to change notification settings

bunseokbot/administ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

administ

A very simple django middleware for view django exception debug page.

developed by bunseokbot@SSG

Install administ

1. Get administ from pip

pip install django-administ 

2. Add installed apps

INSTALLED_APPS = [
  ....
  'administ',
]

3. Add middleware list

MIDDLEWARE = [
  ....
  'administ.middleware.AdministMiddleware',
]

4. Add allowed IP address to manage trace message

ADMINIST_ALLOWED_IP = [
  '127.0.0.1',
  '192.168.0.3',
]

Profit! and enjoy!

About

Django middleware to view exception debugging page only allowed IP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages