I've just installed postgresql and psycopg2. I supplied a password in
the postgres install, but don't know how to supply it to psycopg2:
~/s/sd$ manage.py syncdb
Traceback (most recent call last):
File "./manage.py", line 11, in
execute_manager(settings)
File "/users/home/system/lib/dja
never able to get psycopg2 to compile on osx I recommend
> using sqlite for development or another database. If you must use
> psycopg2, you may want to try to get it through something like
> darwinports.
>
> On Tue, Jun 23, 2009 at 1:19 PM, Chris Haynes wrote:
>
> &g
Using what I believe is the latest version of psycopyg, I get:
509 ~/Desktop/psycopg2-2.0.9$ python setup.py build
running build
running build_py
creating build
creating build/lib.macosx-10.3-fat-2.6
creating build/lib.macosx-10.3-fat-2.6/psycopg2
copying lib/__init__.py -> build/lib.macosx-10.3-
The admin interface had no styling until I added a symlink in the fcgi
directory from media (my ADMIN_MEDIA_PREFIX is /media/) to the admin
app media directory. The development server works fine on another
machine w/o such a link.
Another developer I spoke with fixed the same problem this way.
Ne
I add (r'^admin/doc/', include('django.contrib.admindocs.urls')) to
urls.py and get the admin page Documentation link, but when I visit it
I get a 404 error with the message "The requested admin page does not
exist.".
When I visit a bogus URL the error page confirms taht ^admin/doc/ is
in the UR
en-flash-
chart has a python binding, but its documentation is very sketchy and
I don't know how good its support is. visifire looks like it has a
great future, but depends on silverlight which is not widely deployed
yet.
Any other ideas or comments on the above?
http://127.0.0.1:8000/admin/ works fine, and under fcgi other things
work and https:admin/ gives me the admin login
screen (without css formatting). But in response to the Log in button
it directs to https:///admin/ which fails because the server
only directs URLS beginning with https://https:
Resolved. Don't know how.
On Jun 14, 9:16 pm, Chris Haynes <[EMAIL PROTECTED]> wrote:
> This error goes away if I remove the line
> (r'^ptree/$', mysite.trees.views.parse_tree),
> from the urlpatterns. But I can import trees.views from the shell
>
> ~/dj/
This error goes away if I remove the line
(r'^ptree/$', mysite.trees.views.parse_tree),
from the urlpatterns. But I can import trees.views from the shell
~/dj/mysite 144: manage.py shell
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)] on
win32
Type "help", "copyri
>
> > On Dec 29 2007, 11:03 am, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> > > Is there 'django.contrib.auth.middleware.AuthenticationMiddleware' in
> > > your MIDDLEWARE_CLASSES ?
>
> > No. Uncommenting
> >'django.middleware.common.CommonMiddleware',
> >'django.contrib.sessions.mi
With the following form in my template
File:
{{ form.code }}
and the appended view code, I get the desired form with text box,
Browse... and Submit buttons. But when
browse for a plain text file and hit Submit, I get the
HttpResponseBadRequest response and the print statements flagged with
On Dec 29 2007, 11:03 am, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> Is there 'django.contrib.auth.middleware.AuthenticationMiddleware' in
> your MIDDLEWARE_CLASSES ?
No. Uncommenting
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddlewar
Thanks a lot, syncdb now works with the admin stuff, and
I entered the superuser account stuff when requested.
After that I restart the server and get AttributeError at /admin/
'WSGIRequest' object has no attribute 'user', with traceback at
http://dpaste.com/29308/. Don't see the admin login scre
I add 'django.contrib.auth', to my INSTALLED_APPS. This seems
necessary to use the admin interface, for I get prompted for the
superuser login and password when I run syncdb. But then after table
creation, (whether I decline to enter the superuser info or not), I
get a no such table: django_conten
Following the book, with today's svn checkout of django and a few
necessary adjustments, I've gotten things to work until page 84, where
I'm stuck in multiple ways. Help greatly appreciated.
Trying to visit the admin site in Firefox I get
AttributeError at /admin/
'WSGIRequest' object ha
15 matches
Mail list logo