use / as list delimiter
This commit is contained in:
parent
c55a906bc9
commit
d39d66c112
3 changed files with 3 additions and 3 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue