Forum Discussion

DaveH's avatar
DaveH
Bronze I
20 days ago

Having problems running the Python Expert Challenge 4 in OWASP Training: Access Control

Hi, I've just tried running the code in the Python Expert Challenge 4 in OWASP Training: Access Control.  When I first tried to test the code, the error I saw in Preview said that I needed to add 1120418.proxy-http.us.immersivelabs.com to ALLOWED_HOSTS.  I've added that but it's now giving me the message below.  Could you tell me what I need to do to get the Preview working, please ?Thanks   Dave

ImproperlyConfigured at /

The included URLconf '<module 'apps.siteadmin.urls' from '/app/rentaride/apps/siteadmin/urls.py'>' does not appear to have any patterns in it. If you see the 'urlpatterns' variable with valid patterns in the file then the issue is probably caused by a circular import.

1 Reply

  • Oh, I've managed to get this working now :-)  I hadn't made any changes but I reset the code and tried again and the Preview is working ok now (once I'd added 1120418.proxy-http.us.immersivelabs.com to ALLOWED_HOSTS).