Skip to main content

virtualenvwrapper plugin to create a Django project work directory

Project description

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 then runs django-admin.py to create a new project skeleton.

Installation

$ 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
virtualenvwrapper.django-0.4.1-py2.py3-none-any.whl (5.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3
virtualenvwrapper.django-0.4.1.tar.gz (11.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page