Actually, you might want to just use the following:
http://betterthangrep.com/
to search through the entire project--this program has saved me a lot of
time!
William
On Fri, Aug 19, 2011 at 4:36 AM, Reinout van Rees wrote:
> On 19-08-11 10:27, KC LEE wrote:
>
>> urlpatterns = patterns('',
>>
>>
On 19-08-11 10:27, KC LEE wrote:
urlpatterns = patterns('',
(r'^$', 'accounts.views.front_page'),
url(r'social/', include('social_auth.urls')),
(r'^admin/', include(admin.site.urls)),
(r'^regions/', include('region.urls')),
(r'^messages/', include('pimfy_messages.urls
My problem is identical to this,
https://groups.google.com/group/django-users/browse_thread/thread/62af38b39713f5e7/279df4fba31fd292
On Aug 19, 5:27 pm, KC LEE wrote:
> My urls.py looks like this,
>
> # -*- coding: utf-8 -*-
>
> from django.conf.urls.defaults import *
> from django.conf import s
My urls.py looks like this,
# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *
from django.conf import settings
from django.views.generic.simple import direct_to_template
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^$', 'accounts.views.f
On 19-08-11 05:28, KC LEE wrote:
When I set DEBUG flag true, Django admin site works fine.
But when I change it to false, it throws me the page not found in
Django admin site (except main page of admin site, Groups page, and
Users page)
This sounds like your urls.py has an "if settings.DEBUG:"
i try your advices but didnt work i dont know why because the admin
pattern should handle this urls
On May 4, 3:01 pm, Ivan <492...@gmail.com> wrote:
> Try to replace your patern '^admin/' this '^admin/$', or swap
> ( r'^admin/', include( admin.site.urls ) )
> and ( r'', include( 'role.company.url
Try to replace your patern '^admin/' this '^admin/$', or swap
( r'^admin/', include( admin.site.urls ) )
and ( r'', include( 'role.company.urls' ) )
> my urlconf look like this
>
> from django.conf.urls.defaults import patterns, include
>
> # Uncomment the next two lines to enable the admin:
> fro
its really rear this error the aplication its runing in mod_python in
a shared web hosting python 2.5.1 and work perfect the only thing is
that when i change the DEBUG flag to false the administration
interface keep working and autenticate all fine but throwme the 404
error when i try to access the
Check your admin.autodiscover () in urls.py it should be after all
models import
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
are you using it on any webserver or on django management server (manage.py
runserver) at some port??
it can happen if in any of your urls.py you have mentioned something
specefic to DEBUG variable. But its quite a strage behaviour.
more inputs on your installation or how you are running will be
10 matches
Mail list logo