List Info

Thread: urls.py changes ignored




urls.py changes ignored
user name
2006-03-30 16:13:31

I have a development site where I can update
myproject.urls.py and the
changes are acted upon immediately by my server. I just
cloned this
site onto another computer and everything seems to be in
order except
that on this new system, changes to urls.py are entirely
ignored.
Nothing I do seems to be able to convince the system that I
have
changed the urls.py file.

Both systems are running with Apache2 and mod_python on
Linux.

Things I have tried:

Adding NO_CACHE = True to settings.py.

touch myproject/urls.py

checked the permissions of myproject/urls.py

Even removing myproject/urls.py makes no difference in the
operation of
the clone system.

I am using 0.91 for this project.

What else should I be looking at?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

urls.py changes ignored
user name
2006-03-30 17:22:16
On 3/30/06, Rock <rockrockhoward.com> wrote:
> What else should I be looking at?

Did you nuke urls.pyc?
--
"May the forces of evil become confused on the way to
your house."
  -- George Carlin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

urls.py changes ignored
user name
2006-03-30 17:35:10
Yes I did. No help.

Then I forced the creation of a new urls.pyc by importing
urls.py in
"python manage.py shell" and importing urls.py
and explicitly checking
that the correct number of urlpatterns were defined. Still
no joy in
the browser though.

Note that the access_log shows my request but the error_log
logs no
associated errors.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

urls.py changes ignored
user name
2006-03-30 18:09:13
On Mar 30, 2006, at 9:35 AM, Rock wrote:
> Then I forced the creation of a new urls.pyc by
importing urls.py in
> "python manage.py shell" and importing
urls.py and explicitly checking
> that the correct number of urlpatterns were defined.
Still no joy in
> the browser though.
>
> Note that the access_log shows my request but the
error_log logs no
> associated errors.
>

How about you post your urls.py, we could take a look at it
and maybe  
find the error?

Don



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )