admin complains when adding a new User

2006-09-18 Thread nara
I must be missing something simple. Just using the admin interface, adding a user, and clicking Save elicits this: Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/django/core/servers/basehttp.py", line 272, in run self.result = application(self.environ, sel

Re: admin complains when adding a new User

2006-09-19 Thread nara
r the main trunk, or per-object-permissions branch. Same error either way, in this case. /Nara --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: Model-level DB cache

2006-10-11 Thread nara
call last): File "/home/nara/ws/juglr/trunk/juglr/common/group/unittest.py", line 116, in ? unittest() File "/home/nara/ws/juglr/trunk/juglr/common/group/unittest.py", line 95, in u nittest fake_groups(7) File "/home/nara/ws/juglr/trunk/juglr/common/gro

Re: Model-level DB cache

2006-10-13 Thread nara
w, as insurance. /Nara --~--~-~--~~~---~--~~ 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 [EMAIL

newbie question on activating the automatic admin

2011-09-09 Thread nara
create tables for the admin, just for django and my blog model. Ideas, suggestions? Thanks Nara -- 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

Re: newbie question on activating the automatic admin

2011-09-09 Thread nara
exist at all levels! Could something as basic as Python module search be broken? I am using latest Python 2.7 on Ubuntu 11.04 Thanks Nara On Sep 9, 5:35 pm, Casey Greene wrote: > Is admin in INSTALLED_APPS? > > https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-INSTA...

Re: newbie question on activating the automatic admin

2011-09-10 Thread nara
g. This could be the cause of not seeing the admin. I could switch to python 2.6 instead of python 2.7, but I doubt that that is going fix this issue. Dropping my project table and doing a new syncdb did not help either. Here is the path, prettified: ['/home/nara/dj/mblog' '/us

Re: newbie question on activating the automatic admin

2011-09-10 Thread nara
PYTHONPATH to /home/nara/Django1.3/django, and after that, in the shell, I am still unable to directly import the admin module, I have to do this: >>> import django >>> import django.contrib >>> import django.contrib.admin So, the problem is not just in the admin module, it i

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 po

Re: newbie question on activating the automatic admin

2011-09-14 Thread nara
stion that I had mixed up code installed (some in system files, and also mixed Django1.3 and the dev release) seems like the best guess. Thanks for everyone's help ;) Nara On Sep 11, 10:44 pm, Babatunde Akinyanmi wrote: > And reply here if you don't see problems :) > >

can't get STATICFILES to work (Django dev version)

2011-09-25 Thread nara
I am having trouble getting static files to work, and have to resort to putting all my css inline (ugly!). I have read and followed the docs on static files. django.contrib.staticfiles is in INSTALLED_APPS (by default), and I have set STATICFILES_DIRS to where my static files are (/home/nara

can't get STATICFILES to work (Django dev version)

2011-09-26 Thread nara
I am using the built-in server. Here are my changes: 1. I placed my media (css) files under /home/nara/media 2. I added '/home/nara/media' under STATICFILES_DIRS (django.contrib.staticfiles is already in INSTALLED_APPS) 3. I added {{STATIC_URL}} (no spaces) in front of the reference

Re: can't get STATICFILES to work (Django dev version)

2011-09-26 Thread nara
will go back to my workaround of just placing css inline in the templates, and later, use Apache on my local machine to serve the css files. Thanks Nara On Sep 25, 2:44 pm, Xavier Ordoquy wrote: > Hi, > > > I have read and followed the docs on static files. > > django.contrib

Re: can't get STATICFILES to work (Django dev version)

2011-09-26 Thread nara
/blueprint/screen.css' to refer to the external css. That was it. Here is the head section of my template file, list.html: Thanks Nara On Sep 26, 6:02 pm, nara wrote: > Xavier, > > I followed the blog, and at the end, my css files were not getting > pulled

Re: can't get STATICFILES to work (Django dev version)

2011-10-02 Thread nara
non-development server, such as apache. Thanks Nara On Oct 1, 1:00 pm, Jian Chang wrote: > Did you set Debug=False? > 在 2011-9-27 上午4:21,"nara" 写道: > > > > > > > > > I am having trouble getting STATICFILES to work. I have read the docs, > > and

Re: admin complains when adding a new User

2006-09-19 Thread Nara Narasimhan
goproject.com/ticket/2566 That's all for now :)/NaraOn 9/19/06, nara <[EMAIL PROTECTED]> wrote: If I setAPPEND_SLASH=Falsein my settings.py,then I see this POST at the end of my log: [20/Sep/2006 03:28:15] "POST/admin/auth/user/add/-TEMPLATE-VARIABLE-IS-MISSING- HTTP/1.1" 4