Re: tutorial 2 admin site problem

2012-01-27 Thread Alexandru Moldovan
Did you declared a super user when you've created the database for the first time from you app? On Wed, Jan 18, 2012 at 12:39 PM, Denis Darii wrote: > You can replace: > > url(r'^admin/', include(admin.site.urls)), >> > with: > > url(r'^/', include(admin.site.urls)), >> > in your *urls.py* if yo

Re: tutorial 2 admin site problem

2012-01-18 Thread Sandro Dutra
'Cause you only reproduce the steps and don't try to understand what's happening. In URLS file you'll see the administration is pointed to '^admin/', so you'll acess the administration via www.yoursite.com/admin, in your case, running on localhost and port 8000 localhost:8000/admin, it's obvious yo

Re: tutorial 2 admin site problem

2012-01-18 Thread Denis Darii
You can replace: url(r'^admin/', include(admin.site.urls)), > with: url(r'^/', include(admin.site.urls)), > in your *urls.py* if you really want to have the admin at /. But are you aware of what this implies? On Wed, Jan 18, 2012 at 12:31 PM, Krondaj wrote: > Hi, > > I have just started tutori

Re: Tutorial 2 admin Template not found

2008-01-05 Thread yak-man
I got the svn version, and "installed" from it into my Python2.5.1 - on Windows... After reading this, I looked at the site-packages/django/contrib/admin directory -- it was missing the media and templates directories... I gave up, and svn'd into my Python area too (and all seems well now). Is

Re: Tutorial 2 admin Template not found

2007-12-23 Thread kadavy
Thanks, everyone, Jeff, I installed the SVN version, like you said - and it worked! I guess I was under the (apparently false) impression that the official release would be better to install than the SVN version. On Dec 22, 3:47 am, Jeff Anderson <[EMAIL PROTECTED]> wrote: > I have no problems g

Re: Tutorial 2 admin Template not found

2007-12-22 Thread Empty
> > So I've discovered that I can get the admin page to show up if I add '/ > System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ > site-packages/django/contrib/admin/templates' to TEMPLATE_DIRS in the > settings.py file for my project (for some reason this doesn't work in > glo

Re: Tutorial 2 admin Template not found

2007-12-22 Thread Jeff Anderson
I have no problems going through the tutorial (and creating my own apps) on my mac. Are you using the development server to do all of this? I could see where you'd have the problems you are having if you are trying this all through apache/mod_python. How did you install django? from source? I don't

Re: Tutorial 2 admin Template not found

2007-12-22 Thread kadavy
So I've discovered that I can get the admin page to show up if I add '/ System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ site-packages/django/contrib/admin/templates' to TEMPLATE_DIRS in the settings.py file for my project (for some reason this doesn't work in global_settings

Re: Tutorial 2 - Admin

2006-05-04 Thread Brett Parker
On Wed, May 03, 2006 at 04:10:55PM -0700, Sean Perry wrote: > > Luke Plant wrote: > > On Wednesday 03 May 2006 17:51, Kenneth Gonsalves wrote: > > > >> when making major upgrades, sometimes old .pyc files remain giving > >> errors like this. Nuking subversion is the best solution > > > > Or, if

Re: Tutorial 2 - Admin

2006-05-03 Thread Kenneth Gonsalves
On Thu, May 4, 2006 4:26 am, Luke Plant said: > > On Wednesday 03 May 2006 17:51, Kenneth Gonsalves wrote: > >> when making major upgrades, sometimes old .pyc files remain giving >> errors like this. Nuking subversion is the best solution > > Or, if you use *nix this will be a bit less drastic an

Re: Tutorial 2 - Admin

2006-05-03 Thread Sean Perry
Luke Plant wrote: > On Wednesday 03 May 2006 17:51, Kenneth Gonsalves wrote: > >> when making major upgrades, sometimes old .pyc files remain giving >> errors like this. Nuking subversion is the best solution > > Or, if you use *nix this will be a bit less drastic and faster: > > find your/djan

Re: Tutorial 2 - Admin

2006-05-03 Thread Luke Plant
On Wednesday 03 May 2006 17:51, Kenneth Gonsalves wrote: > when making major upgrades, sometimes old .pyc files remain giving > errors like this. Nuking subversion is the best solution Or, if you use *nix this will be a bit less drastic and faster: find your/django/src/dir -name '*.pyc' | xargs

Re: Tutorial 2 - Admin

2006-05-03 Thread Kenneth Gonsalves
On Wed, May 3, 2006 6:29 pm, Dave said: > > Ok guys, > > I nuked my subversion and checked it out again. Now it appears to be > working. I have no idea what has happened but at least I can get back > into django again! when making major upgrades, sometimes old .pyc files remain giving errors lik

Re: Tutorial 2 - Admin

2006-05-03 Thread Dave
Ok guys, I nuked my subversion and checked it out again. Now it appears to be working. I have no idea what has happened but at least I can get back into django again! My sincere thanks for your prompt support. This was my first post and I am really amazed at getting such prompt feedback. Cheers

Re: Tutorial 2 - Admin

2006-05-03 Thread Malcolm Tredinnick
On Wed, 2006-05-03 at 05:46 -0700, Dave wrote: > Hi Michael, > > Here's the contents of my urls.py: > > from django.conf.urls.defaults import * > > urlpatterns = patterns('', > # Example: > # (r'^mysite/', include('mysite.apps.foo.urls.foo')), > > # Uncomment this for admin: >

Re: Tutorial 2 - Admin

2006-05-03 Thread Dave
Hi Michael, Here's the contents of my urls.py: from django.conf.urls.defaults import * urlpatterns = patterns('', # Example: # (r'^mysite/', include('mysite.apps.foo.urls.foo')), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), ) Thanks for the

Re: Tutorial 2 - Admin

2006-05-03 Thread Malcolm Tredinnick
On Wed, 2006-05-03 at 05:04 -0700, Dave wrote: > Hi guys, > > I get the following error when trying to connect to the admin page > (start of Tutorial 2). Any help greatly appreciated as I'm new to this > Magic Removal stuff... In a response to your earlier post about this, Adrian asked if you co

Re: Tutorial 2 - Admin

2006-05-03 Thread Michael Radziej
Dave wrote: > Hi guys, > > I get the following error when trying to connect to the admin page > (start of Tutorial 2). Any help greatly appreciated as I'm new to this > Magic Removal stuff... Something in your setup is seriously wrong. Have you followed the instructions of the first part of the