App installation helper for Django
Pull request Compare This branch is even with dvrasp:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
django_install
scripts
test_project
README
setup.py

README

Typical use case :

(virtualenv)$ pip install -e 'git+git://github.com/dvrasp/django-install.git#egg=django_install' # or whatever
(virtualenv)$ cd ~/some-django-project/
(virtualenv)$ django-install.py django_extensions sorl-thumbnail django-celery django-debug-toolbar

(...) pip install output (...)

--- a/requirements.txt 
+++ b/requirements.txt 2010-12-05 05:21:35.595283
@@ -1,0 +1,4 @@
+django-extensions
+sorl-thumbnail
+django-celery
+django-debug-toolbar

--- a/settings.py 2010-12-05 05:19:10
+++ b/settings.py 2010-12-05 05:21:35.602713
@@ -83,6 +83,10 @@
     # Don't forget to use absolute paths, not relative paths.
 )
 
+INTERNAL_IPS = [
+            '127.0.0.1',
+        ]
+
 INSTALLED_APPS = (
     'django.contrib.auth',
     'django.contrib.contenttypes',

--- a/settings.py 2010-12-04 22:19:10
+++ b/settings.py 2010-12-04 22:21:35.618013
@@ -73,6 +73,7 @@
     'django.middleware.csrf.CsrfViewMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.contrib.messages.middleware.MessageMiddleware',
+    'debug_toolbar.middleware.DebugToolbarMiddleware',
 )
 
 ROOT_URLCONF = 'test_project.urls'

--- a/settings.py 2010-12-04 22:19:10
+++ b/settings.py 2010-12-04 22:21:35.621787
@@ -88,6 +88,10 @@
     'django.contrib.contenttypes',
     'django.contrib.sessions',
     'django.contrib.sites',
+    'django_extensions',
+    'sorl.thumbnail',
+    'djcelery',
+    'debug_toolbar',
     #'django.contrib.messages',
     # Uncomment the next line to enable the admin:
     # 'django.contrib.admin',

(virtualenv)$ django-install.py django-extensions | patch -p 1
patching file requirements.txt
patching file settings.py