Skip to content

juanifioren/django-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Project Template

The clean, fast and right way to start a new Django 1.10.1 powered website.

Getting Started

Setup project environment with virtualenv and pip.

$ virtualenv project-env
$ source project-env/bin/activate
$ pip install -r https://raw.githubusercontent.com/juanifioren/django-project-template/master/requirements.txt

# You may want to change the name `projectname`.
$ django-admin startproject --template https://github.com/juanifioren/django-project-template/archive/master.zip projectname

$ cd projectname/
$ cp settings_custom.py.edit settings_custom.py
$ python manage.py migrate
$ python manage.py runserver

Features

  • Basic Django scaffolding (commands, templatetags, statics, media files, etc).
  • Split settings in two files. settings_custom.py for specific environment settings (localhost, production, etc). projectname/settings.py for core settings.
  • Simple logging setup ready for production envs.

Contributing

I love contributions, so please feel free to fix bugs, improve things, provide documentation. Just send a pull request.

About

Initial project structure for any new Django application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages