Add some API views for receiving, and vendor autocomplete
lots more to do yet, for those...
This commit is contained in:
parent
afdd294c60
commit
3514c4050e
7 changed files with 409 additions and 130 deletions
|
@ -63,3 +63,8 @@ class APIView(View):
|
|||
"""
|
||||
Base class for all API views.
|
||||
"""
|
||||
|
||||
def pretty_datetime(self, dt):
|
||||
if not dt:
|
||||
return ""
|
||||
return dt.strftime('%Y-%m-%d @ %I:%M %p')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue