Skip to content

sdyakovski-study/django-cookbook3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Following "Web Development with Django Cookbook" recepes. I changed the project structure a bit compared to the one suggested in the book:

  • Instead of creating the virtualenv in ., I created it in django-cookbook3-env: $ virtualenv django-cookbook3-env $ source django-cookbook3-env/bin/activate
  • So instead of getting bin, include, lib etc. directly in the django-cookbook3 folder, I have in there an django-cookbook3-env folder, and these are inside
  • I do not create a project/django_project/myproject
  • instead I run (django-cookbook3-env)$ django-admin.py startproject myproject directly in the django-cookbook3 folder, which created in it myproject/myproject
  • then mv myproject project
  • now I have in django-cookbook3 a folder project which has myproject and manage.py. Added in here this README.md

About

A file structure for a django project following django cookbook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages