Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Setup Django Project #1

Copy link
Copy link
@Jomari-Macaraig

Description

@Jomari-Macaraig
Issue body actions

Exit Criteria:

  • Create a new Django project using version 2.0.
  • Re-design the project layout to
    <repository_root>/
    |-- <configuration_root>/
    |-- <django_project_root>/
  • Move settings file(settings.py) to settings/base.py
  • Update files that are affected by the move of the settings file
    • wsgi.py
    • manage.py
    • base.py (configuration that conflicts to the move)
  • Create development settings file that inherit from the base settings (development.py).
  • Update base.py
    • Separate the following in INSTALLED_APPS
      1. Django applications
      2. Third party django applications
      3. Local django applications.
  • Create requirements folder under repository_root and in it create a base.txt and dev.txt. Add Django ver 2.0 on base.txt and have dev.txt inherits from base.txt
  • Create .gitignore file under repository_root and add __pycache__ folder and db.sqlite3

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.