edited requirements - correct python-ox path; remove South

This commit is contained in:
Sanj 2012-02-19 16:08:14 +05:30
parent e0b7e0cbae
commit e392aaad46
4 changed files with 3 additions and 4 deletions

1
README
View File

@ -17,6 +17,7 @@ Get:
# bzr branch PUBLIC_URL gazetteer
cd gazetteer
virtualenv .
. bin/activate
pip -E . install -r requirements.txt
Patch:

View File

@ -6,7 +6,6 @@ try:
except:
import simplejson as json
# Create your models here.
class AuthorityRecord(models.Model):
uri = models.CharField(max_length=512)

View File

@ -116,7 +116,7 @@ def add_relation(request):
feature1 = request.GET.get("feature1", None)
feature2 = request.GET.get("feature2", 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'})
if not request.user.is_staff:

View File

@ -1,6 +1,5 @@
-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
South
django_debug_toolbar
django-ajax-selects