My Django 1.4 Project Template
Django supports custom project templates as of 1.4. This is a feature i’ve been dreaming for and since have created what I consider - and hope - is an improved project template for most.
https://github.com/amccloud/django-project-skel/
Changes and additions
- Global templates, static, and fixtures directory.
- Collects static and media into public/{static,media} respectively.
- Django admin activated by default.
- Django timezone setting changed to UTC for sanity.
- HTML 5 base template with simple 404 and 500 error templates.
- Discourages storing credentials and secrets in the repository.
- Encourages the use of local_settings.py and accompanying __local_settings.py template.
- Encourages the use of virtualenv and virtualenvwrapper.
- Encourages the use of pip and requirements.txt.
- Encourages the use of git.
- Includes a .gitignore for the usual junk.
- Automatically builds a README with installation notes.
How to use
django-admin.py startproject --template https://github.com/amccloud/django-project-skel/zipball/master --extension py,md yourprojectname
11 Notes/ Hide
-
matagus likes this
-
e-mechanism likes this
-
r4vi likes this
-
amccloud posted this