change date format to get thousands

sync
Laurent 9 months ago
parent f1eff69341
commit 4bd82fcf29
  1. 2
      padelclub_backend/settings_app.py

@ -2,7 +2,7 @@
# Rest Framework configuration # Rest Framework configuration
REST_FRAMEWORK = { REST_FRAMEWORK = {
'DATETIME_FORMAT': "%Y-%m-%dT%H:%M:%S%z", 'DATETIME_FORMAT': "%Y-%m-%dT%H:%M:%S.%f%z",
# Use Django's standard `django.contrib.auth` permissions, # Use Django's standard `django.contrib.auth` permissions,
# or allow read-only access for unauthenticated users. # or allow read-only access for unauthenticated users.
'DEFAULT_PERMISSION_CLASSES': [ 'DEFAULT_PERMISSION_CLASSES': [

Loading…
Cancel
Save