tune find query to match new url controler

list names use : as seperator now
This commit is contained in:
j 2011-09-22 04:01:26 +00:00
commit a6a285367b
4 changed files with 12 additions and 14 deletions

View file

@ -13,7 +13,7 @@ from item import utils
from item.models import Item
def get_list_or_404_json(id):
username, listname = id.split('/')
username, listname = id.split(':')
return get_object_or_404_json(models.List, user__username=username, name=listname)
def _order_query(qs, sort):