Skip to content

AliYmn/DjangoBan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django User Ban Management

Compatibility

  • Django 1.8+
  • Python 3.x +

Installations

pip install DjangoBan

Configuration

  • Example settings.py : Load the application.

        #settings.py
        
        INSTALLED_APPS = [
         ...
         
         'ban',
         
         ]
    
  • Example MIDDLEWARE_CLASESS

ban.middleware.BanManagement MIDDLEWARE_CLASESS add.

  MIDDLEWARE = [
  ...
    
  'ban.middleware.BanManagement',
    
   ]
  • Database Operations

        python manage.py makemigrations
        python manage.py migrate
    

Demo

How to use?

-------- --------

Template Customization

  • Ban template : ban.html

  • Templates included in your application You can create and customize the file named "ban.html".

About

You can ban django's user from website.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •