minimal edits with a sortable list interface and 'add selected item/in/out support'

This commit is contained in:
j 2013-05-27 20:06:56 +00:00
commit cfdaaa4464
17 changed files with 1363 additions and 120 deletions

View file

@ -21,8 +21,8 @@ import models
def get_text_or_404_json(id):
id = id.split(':')
username = id[0]
textname = ":".join(id[1:])
return get_object_or_404_json(models.Text, user__username=username, name=textname)
name = ":".join(id[1:])
return get_object_or_404_json(models.Text, user__username=username, name=name)
@login_required_json
def addText(request):