virtualenvwrapper.django

Create a new Django project with mkproject.

virtualenvwrapper.django is a template plugin for virtualenvwrapper to create new Django projects automatically. When used with mkproject, it installs Django into the new virtualenv and then runs django-admin.py to create a new project skeleton.

Installation

Download the latest release from the PyPI page or install with pip install virtualenvwrapper.django.

Usage

$ mkproject -t django my_fancy_new_site
site_filename is /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.pyc
New python executable in my_fancy_new_site/bin/python
Installing distribute...done.

... virtualenv and project directories are created ...

Applying template django
Downloading/unpacking django
  Downloading Django-1.2.4.tar.gz (6.4Mb): 6.4Mb downloaded
  Running setup.py egg_info for package django

Installing collected packages: django
  Running setup.py install for django
    changing mode of build/scripts-2.7/django-admin.py from 644 to 755

    changing mode of /Users/dhellmann/.virtualenvs/my_fancy_new_site/bin/django-admin.py to 755
Successfully installed django
Cleaning up...

virtualenvwrapper.django Running "django-admin.py startprojects my_fancy_new_site"

(my_fancy_new_site)$ find .
.
./my_fancy_new_site
./my_fancy_new_site/__init__.py
./my_fancy_new_site/manage.py
./my_fancy_new_site/settings.py
./my_fancy_new_site/urls.py

Support

This project is hosted on bitbucket.org: https://bitbucket.org/dhellmann/virtualenvwrapper.django

Please report issues via the bug tracker.

Post a message to the virtualenvwrapper Google Group for help getting set up.

License

Copyright Doug Hellmann, All Rights Reserved

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Doug Hellmann not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.

DOUG HELLMANN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DOUG HELLMANN BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Bookmark and Share