django-schedule icon indicating copy to clipboard operation
django-schedule copied to clipboard

Can't get urls.py to work.

Open ursixc9 opened this issue 13 years ago • 1 comments

I'm a noob trying to get this scheduler to work. I followed all the instructions to configure settings.py and have the url pattern redirect to use the urls.py file inside the 'schedule' app folder with the following code:
urlpatterns = patterns('', (r'^schedule/', include('schedule.urls')), )

However, nothing is showing up. I don't see any errors or additional information. When I go to http://localhost:8000/schedule/, a blank page shows up. The strange thing is if I go to http://localhost:8000/schedule/1234 or any random parameter, I get the same blank page. I'm assuming that Django is not seeing my urls path properly. Can someone please help me?

ursixc9 avatar Aug 08 '11 18:08 ursixc9

Make sure that your base template has block "body" and other blocks used in schedule templates.

springgrass avatar Aug 25 '11 13:08 springgrass