On 2/15/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> On Wednesday 15 Feb 2006 8:36 am, limodou wrote:
> > > > > (r'^admin/', include('django.contrib.admin.urls.admin')),
> > > >
> > > > Which version do you use? It seems that the syntax is for
> > > > 0.91. If you are using 0.92, the above should be:
> > > >
> > > > (r'^admin/', include('django.contrib.admin.urls')),
> > >
> > > am using latest svn
> >
> > So you should change the urls.py just like what I shown you
> > above. And try again.
>
> what i put was automatically generated by startproject. If i use
> your pattern - i dont even get admin. My only problem is getting
> the css as admin works with my url
>

Oh, I'm sorry for my wrong reply. But my project urls.py is :

from django.conf.urls.defaults import *

urlpatterns = patterns('',
    # Example:
    # (r'^pppp/', include('pppp.apps.foo.urls.foo')),

    # Uncomment this for admin:
#     (r'^admin/', include('django.contrib.admin.urls')),
)

If you are using the lastest svn, why your output is not the same as me?

Does you use apache?

--
I like python!
My Blog: http://www.donews.net/limodou
NewEdit Maillist: http://groups.google.com/group/NewEdit

Reply via email to