Re: newbie question on activating the automatic admin

2011-09-15 Thread Babatunde Akinyanmi
Cool On 9/14/11, nara wrote: > Finally! The admin interface worked, when I used the dev version > in a virtualenv. I cleaned every trace of Django in my system, > and I had to compile (requires python-dev package in > Ubuntu) and install MySQLdb into the virtualenv. > > Not sure what exactly was

Re: newbie question on activating the automatic admin

2011-09-14 Thread nara
Finally! The admin interface worked, when I used the dev version in a virtualenv. I cleaned every trace of Django in my system, and I had to compile (requires python-dev package in Ubuntu) and install MySQLdb into the virtualenv. Not sure what exactly was wrong before, but Babatunde's suggestion t

Re: newbie question on activating the automatic admin

2011-09-11 Thread Babatunde Akinyanmi
And reply here if you don't see problems :) On 9/12/11, nara wrote: > ok, i am planning to remove all traces of all django installations > from my > system, and re-install the dev version (and if that still does not > work 3.1) > under virtualenv. > > Will repost here if I still see probl

Re: newbie question on activating the automatic admin

2011-09-11 Thread nara
ok, i am planning to remove all traces of all django installations from my system, and re-install the dev version (and if that still does not work 3.1) under virtualenv. Will repost here if I still see problems. Nara On Sep 10, 7:16 pm, Babatunde Akinyanmi wrote: > Hi nara, > Please post the de

Re: newbie question on activating the automatic admin

2011-09-10 Thread Babatunde Akinyanmi
Hi nara, Please post the debug output you get when you try to view the admin page from your browser. Meanwhile, while switching versions of django, you have to make sure you remove completely every file from the old version. Failure to do that will break django. On 9/10/11, nara wrote: > ok, I s

Re: newbie question on activating the automatic admin

2011-09-10 Thread nara
ok, I switched to the 1.3.1 released version of Django, and also tried Python2.6 instead of Python2.7 on the dev version of Django. Things are still majorly broken, see the following in the django shell on a fresh startproject, I could not import even the top level django module. Then, I set PYTHON

Re: newbie question on activating the automatic admin

2011-09-10 Thread nara
I'll get through this yet :) I tried the commands you have under the django shell, and I got 'example.com' on the django.Site query, and not an error. Also, interestingly, within the shell, I don't see django on the sys.path at all (shown below), but I do see my project mblog. This could be the ca

Re: newbie question on activating the automatic admin

2011-09-09 Thread Babatunde Akinyanmi
Hi nara, This error is normally thrown when the sites app is being used in a django project. I think it can also occur if the sites tables in the database is not properly created during django-admin startproject. Someone else reported that he was able to solve the problem by using a user name witho

Re: newbie question on activating the automatic admin

2011-09-09 Thread nara
yes, admin is in INSTALLED_APPS. BTW, the basic site works fine if I turn off all admin. admin is not strictly necessary, it is just a nicety. One strange thing though: I have had to set PYTHONPATH and explicitly set it to ~/mblog:~/mblog/apps:~/mblog/apps/myblog, even though __init__.py files exi

Re: newbie question on activating the automatic admin

2011-09-09 Thread Casey Greene
Is admin in INSTALLED_APPS? https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-INSTALLED_APPS Casey On 09/09/2011 07:04 PM, nara wrote: Hi, I am a newbie, and I am trying a very basic blog site to get familiar with the latest development release. I followed the directions in the

newbie question on activating the automatic admin

2011-09-09 Thread nara
Hi, I am a newbie, and I am trying a very basic blog site to get familiar with the latest development release. I followed the directions in the tutorial (part 2) to try and get the automatic admin going. However, here is what I get on the url localhost:8000/admin/ DoesNotExist at /admin/ Site ma