Django Files: __init__.py

By: Dusty Arlia
Published on Wednesday, January 15, 2014, 06:38 PM
Last Updated on Tuesday, July 07, 2015 at 10:09 PM
Total Updates: 3

The __init__.py file is an empty file that tells Python that the directory holding this file is a Python package.

Here's a look at Django's default structure:

your_project/
    manage.py
    your_project/
        __init__.py
        settings.py
        urls.py
        wsgi.py

Comments:

Ad:

Ad: