views:

326

answers:

1

I've got two applications located on two seperate computers on one in the urls.py file I have a line like the following:

(r'^cast/$', 'mySite.simulate.views.cast')

And that url will work for both mySite.com/cast/ and MySite.com/cast. But on the other server I have a similar url written out like:

(r'^login/$', 'mySite.myUser.views.login')

For some reason for this site the url mySite.com/login/ will work but mySite.com/login will hang and won't direct back to mySite.com/login/ like the other site. Is there something I missed? Both url.py files look identical to me.

+8  A: 

check your APPEND_SLASH setting in the settings.py file

more info in the django docs

Jiaaro