Skip to main content

virtualenvwrapper plugin to create a Django project work directory

Project description

virtualenvwrapper.django is a template plugin for virtualenvwrapper.project 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.

Source Distribution

virtualenvwrapper.django-0.1.tar.gz (15.4 kB view details)

Uploaded Source

File details

Details for the file virtualenvwrapper.django-0.1.tar.gz.

File metadata

File hashes

Hashes for virtualenvwrapper.django-0.1.tar.gz
Algorithm Hash digest
SHA256 8cac5d94a1718dcc60dacad26cccf52884483de9e4b8eb57e11ef49561bf628b
MD5 d1f1a234d20c89b949e094e2298a5d7b
BLAKE2b-256 8d313bb0eaf2f3a2d4eaa78fa35de67fe06db058ecb58a08150543856e26ec52

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page