10 lines
198 B
Python
10 lines
198 B
Python
from __future__ import unicode_literals
|
|
from django.conf import settings
|
|
|
|
|
|
def trailing_slash():
|
|
if getattr(settings, 'TASTYPIE_ALLOW_MISSING_SLASH', False):
|
|
return '/?'
|
|
|
|
return '/'
|