Commit f52ae1be authored by Kristen Thomas's avatar Kristen Thomas

added url exceptions

added URL exceptions to allow data POST
parent 69b18f8f
......@@ -163,4 +163,11 @@ from .settings_common import *
#MIDDLEWARE += ('lockdown.middleware.LockdownMiddleware',)
#LOCKDOWN_FORM = 'lockdown.forms.AuthForm'
#LOCKDOWN_AUTHFORM_STAFF_ONLY = False
#LOCKDOWN_URL_EXCEPTIONS = ('^/secure/$', # unlock /secure/)
#LOCKDOWN_URL_EXCEPTIONS = ( r'^/readingdb/reading/(\w+)/store/$', # URL to store one reading into database
r'^/readingdb/reading/store/$', # URL to store multiple readings into database
r'^/readingdb/reading/store-things/$', # URL to store readings from Things Network
r'^/readingdb/reading/store-rb/$', # Store Rb
r'^st8(\w+)/', # Old URL pattern for storing
r'^/readingdb/reading/(\w+)/$', # gets all readings for one reading ID
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment