You’re just interested in trying Django, this is the easiest choice. Module-level variables representing Django settings.īy default, the configuration uses SQLite. See How to deploy with WSGI for more details. mysite/wsgi.py: An entry-point for WSGI-compatible web servers to.“table of contents” of your Django-powered site. mysite/urls.py: The URL declarations for this Django project a.Django settings will tell you all about how settings mysite/settings.py: Settings/configuration for this Django.Packages in the official Python docs if you’re a Python beginner.) mysite/_init_.py: An empty file that tells Python that thisĭirectory should be considered a Python package.Its name is the Python package name you’ll need to use to import The inner mysite/ directory is the actual Python package for your.manage.py: A command-line utility that lets you interact with thisĭjango project in various ways.Its name doesn’t matter to Django you can rename it to anything The outer mysite/ root directory is just a container for your.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |