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

2011-10-02 Thread nara
a non-development server, such as apache. Thanks Nara On Oct 1, 1:00 pm, Jian Chang <changjia...@gmail.com> wrote: > Did you set Debug=False? > 在 2011-9-27 上午4:21,"nara" <nar...@gmail.com>写道: > > > > > > > > > I am having trouble getting STAT

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

2011-09-26 Thread nara
/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 <nar...@gmail.com> wrote: > Xavier, > > I followed the blog, and at the end, my css files were not getting &

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 <xordo...@linovia.com> wrote: > Hi, > > > I have read and followed the do

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

2011-09-26 Thread nara
, and 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 to static

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

Re: newbie question on activating the automatic admin

2011-09-14 Thread nara
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 <tundeba...@gmail.com> wrote: > And reply here if you don't see

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 <tundeba...@gmail.com> wrote

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-10 Thread nara
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' '/usr/local/lib/python2.7/dist-packages

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 <csgre...@princeton.edu> wrote: > Is admin in INSTALLED_APPS? > > https://docs.djangoproject.com/en/dev/ref/settin

newbie question on activating the automatic admin

2011-09-09 Thread nara
not 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: Model-level DB cache

2006-10-13 Thread nara
, 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

Re: Model-level DB cache

2006-10-11 Thread nara
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/group/un

Re: admin complains when adding a new User

2006-09-19 Thread Nara Narasimhan
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" 404 4838Not sure

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