Re: Django not reading the URLConf (urls.py)

2010-02-28 Thread Rodrigo
I checked the ROOT_URLCONF and it was fine, and deleted all the *.pyc, without good results, but finally I found the problem. There was a copy of the same project in some other folder under the PYTHONPATH, so there was some kind of collision. Thanks everybody for helping me out. On Feb 28, 1:57 

Re: Django not reading the URLConf (urls.py)

2010-02-27 Thread Karen Tracey
On Sat, Feb 27, 2010 at 9:23 PM, piz...@gmail.com wrote: > Yes Karen, that's what I thought from the beginning, something is broken in > my Python installation, I'll explain it better. I'm currently using django > dev server and it doesn't update the .pyc files, let's say I

Re: Django not reading the URLConf (urls.py)

2010-02-27 Thread Prabhu
Did you check ROOT_URLCONF in settings.py? On Feb 27, 8:34 pm, Rodrigo wrote: > If I update any line on the urls.py, this doesn't reflect on the > server. I can even DELETE the file, and all the urls are still > working. I've tried restarting runserver many times, even

Re: Django not reading the URLConf (urls.py)

2010-02-27 Thread piz...@gmail.com
El 28/02/2010, a las 1:03, Karen Tracey wrote: If you are routinely needing to delete .pyc files after making code changes in the corresponding .py files, something is broken. The post I responded to stated: "Python generates a compiled version of the file, and if you don't delete it, it

Re: Django not reading the URLConf (urls.py)

2010-02-27 Thread Kenneth Loafman
Karen Tracey wrote: > On Sat, Feb 27, 2010 at 6:31 PM, Kenneth Loafman > > wrote: > > Karen Tracey wrote: > > On Sat, Feb 27, 2010 at 4:05 PM, piz...@gmail.com > > >

Re: Django not reading the URLConf (urls.py)

2010-02-27 Thread Karen Tracey
On Sat, Feb 27, 2010 at 6:31 PM, Kenneth Loafman wrote: > Karen Tracey wrote: > > On Sat, Feb 27, 2010 at 4:05 PM, piz...@gmail.com > > > > > wrote: > > > > Did you delete the .pyc files? Python

Re: Django not reading the URLConf (urls.py)

2010-02-27 Thread Kenneth Loafman
Karen Tracey wrote: > On Sat, Feb 27, 2010 at 4:05 PM, piz...@gmail.com > > > wrote: > > Did you delete the .pyc files? Python generates a compiled version > of the file, and if you don't delete it, it never get's

Re: Django not reading the URLConf (urls.py)

2010-02-27 Thread Karen Tracey
On Sat, Feb 27, 2010 at 4:05 PM, piz...@gmail.com wrote: > Did you delete the .pyc files? Python generates a compiled version of the > file, and if you don't delete it, it never get's updated. At least it's the > problem I have. So if you update views.py and don't delete the

Re: Django not reading the URLConf (urls.py)

2010-02-27 Thread piz...@gmail.com
Did you delete the .pyc files? Python generates a compiled version of the file, and if you don't delete it, it never get's updated. At least it's the problem I have. So if you update views.py and don't delete the old view.pyc file, it will work as the old version. El 27/02/2010, a las

Django not reading the URLConf (urls.py)

2010-02-27 Thread Rodrigo
If I update any line on the urls.py, this doesn't reflect on the server. I can even DELETE the file, and all the urls are still working. I've tried restarting runserver many times, even restarting the computer, and nothing happens. The last test I did was deleting settings.py, to see if there was