edited requirements - correct python-ox path; remove South
This commit is contained in:
parent
e0b7e0cbae
commit
e392aaad46
1
README
1
README
|
@ -17,6 +17,7 @@ Get:
|
||||||
# bzr branch PUBLIC_URL gazetteer
|
# bzr branch PUBLIC_URL gazetteer
|
||||||
cd gazetteer
|
cd gazetteer
|
||||||
virtualenv .
|
virtualenv .
|
||||||
|
. bin/activate
|
||||||
pip -E . install -r requirements.txt
|
pip -E . install -r requirements.txt
|
||||||
|
|
||||||
Patch:
|
Patch:
|
||||||
|
|
|
@ -6,7 +6,6 @@ try:
|
||||||
except:
|
except:
|
||||||
import simplejson as json
|
import simplejson as json
|
||||||
|
|
||||||
# Create your models here.
|
|
||||||
|
|
||||||
class AuthorityRecord(models.Model):
|
class AuthorityRecord(models.Model):
|
||||||
uri = models.CharField(max_length=512)
|
uri = models.CharField(max_length=512)
|
||||||
|
|
|
@ -116,7 +116,7 @@ def add_relation(request):
|
||||||
feature1 = request.GET.get("feature1", None)
|
feature1 = request.GET.get("feature1", None)
|
||||||
feature2 = request.GET.get("feature2", None)
|
feature2 = request.GET.get("feature2", None)
|
||||||
relation = request.GET.get("relation", None)
|
relation = request.GET.get("relation", None)
|
||||||
if feature1 == None or feature2 == None or relation == None: #TODO: split up errors :/ -- not imp.
|
if feature1 == None or feature2 == None or relation == None:
|
||||||
return render_to_json_response({'error': 'bad request'})
|
return render_to_json_response({'error': 'bad request'})
|
||||||
|
|
||||||
if not request.user.is_staff:
|
if not request.user.is_staff:
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
-e svn+http://code.djangoproject.com/svn/django/branches/releases/1.3.X/#egg=django
|
-e svn+http://code.djangoproject.com/svn/django/branches/releases/1.3.X/#egg=django
|
||||||
-e bzr+http://code.0xdb.org/python-ox/#egg=python-ox
|
-e bzr+http://code.0x2620.org/python-ox/#egg=python-ox
|
||||||
django_extensions
|
django_extensions
|
||||||
South
|
|
||||||
django_debug_toolbar
|
django_debug_toolbar
|
||||||
django-ajax-selects
|
django-ajax-selects
|
||||||
|
|
Loading…
Reference in New Issue
Block a user