mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Initial groundwork for using virtualenv
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -8,3 +8,4 @@ piston
|
|||||||
django_evolution
|
django_evolution
|
||||||
logs/
|
logs/
|
||||||
settingslocal.py
|
settingslocal.py
|
||||||
|
env
|
||||||
|
|||||||
8
init.sh
8
init.sh
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
svn co http://code.djangoproject.com/svn/django/branches/releases/1.1.X/django django
|
|
||||||
svn co http://django-evolution.googlecode.com/svn/trunk/django_evolution
|
|
||||||
hg clone http://bitbucket.org/jespern/django-piston/
|
|
||||||
rm -rf piston
|
|
||||||
mv django-piston/piston ./
|
|
||||||
rm -rf django-piston
|
|
||||||
6
requirements.txt
Normal file
6
requirements.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
Django==1.1.2
|
||||||
|
django-evolution==0.5
|
||||||
|
django-piston==0.2.2
|
||||||
|
django-registration==0.7
|
||||||
|
yolk==0.4.1
|
||||||
|
-e git+http://github.com/bradjasper/django-jsonfield.git#egg=django_jsonfield
|
||||||
3
setup-env.sh
Executable file
3
setup-env.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
virtualenv --distribute env
|
||||||
|
. ./env/bin/activate
|
||||||
|
pip install -r requirements.txt
|
||||||
@@ -8,7 +8,7 @@ from django.db.models import signals
|
|||||||
from django.contrib.auth.models import User, UserManager, Group
|
from django.contrib.auth.models import User, UserManager, Group
|
||||||
from django.utils import simplejson as json
|
from django.utils import simplejson as json
|
||||||
|
|
||||||
from django_jsonfield.fields import JSONField
|
from nosj.fields import JSONField
|
||||||
from eve_api.models import EVEAccount, EVEPlayerCorporation, EVEPlayerAlliance
|
from eve_api.models import EVEAccount, EVEPlayerCorporation, EVEPlayerAlliance
|
||||||
from reddit.models import RedditAccount
|
from reddit.models import RedditAccount
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user