Metadata-Version: 2.1
Name: django-extension-tools
Version: 0.0.2
Summary: Django extention tools.
Home-page: https://github.com/yutayamazaki/django-extensions
Author: Yuta Yamazaki
Author-email: yu.yamazakii@gmail.com
Maintainer: Yuta Yamazaki
Maintainer-email: yu.yamazakii@gmail.com
License: MIT
Description: # django-extensions
        
        ## Installation
        
        ```shell
        pip install git+https://github.com/yutayamazaki/django-extensions
        ```
        
        If you use `requirements.txt`.
        
        ```txt
        -e git://github.com/yutayamazaki/django-extensions.git
        ```
        
        When you need to use specific version, follow this page.
        
        https://stackoverflow.com/questions/16584552/how-to-state-in-requirements-txt-a-direct-github-source
        
        ## Usage
        
        ### Middllewares
        
        #### AdminIPRestrictionMiddleware
        
        It is possible to restrict the IP address on the admin screen, http://domain.name/admin/, of the production environment. You can set the IP address to be accessible by entering it into the ALLOWED_ADMIN_IP_LIST in settings.py.
        
        ```python
        # settings.py
        ALLOWED_ADMIN_IP_LIST = ['xxx.xxx.xxx.xxx', 'xxx.xx.xx.xx']
        
        MIDDLEWARE = [
            ...
            'django_extensions.middlewares.AdminIPRestrictionMiddleware'
            ...
        ]
        ```
        
Keywords: django,djangorestframework
Platform: UNKNOWN
Description-Content-Type: text/markdown
