Ah, I see. It is possible there is the odd typo, and useful
information omission, in the Definitive Guide. I've found the
documentation on the Django website to be *mostly* error free. The
CharField for example is accurately documented (http://
docs.djangoproject.com/en/dev/ref/models/fields/
#
On Sep 17, 4:54 pm, "R. Gorman" <[EMAIL PROTECTED]> wrote:
> Glad to hear you have some of your setup up and running.
>
> Your comment on defining fields in the models surprised me though.
> All the fields for your models in Django should start with model,
> followed by the field-type, as the docu
Glad to hear you have some of your setup up and running.
Your comment on defining fields in the models surprised me though.
All the fields for your models in Django should start with model,
followed by the field-type, as the documentation states. Are you sure
you have models module being importe
Ok finally got this resolved there were several problems.
Following the book the Definative Guide to Django and online
documentation somehow did not eliminate several snags,
I'd like to post my findings here.
1. postgresql psycopg2 had best be installed on server
and tested before moving onto
On Sep 16, 10:33 pm, "R. Gorman" <[EMAIL PROTECTED]> wrote:
> What is in your urls.py file? That's where your urlpatterns should be
> stored. > R.
my url.py is simply
from django.conf.urls.defaults import *
What is in your urls.py file? That's where your urlpatterns should be
stored.
R.
--~--~-~--~~~---~--~~
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.c
Thanks Karen
Now having fixed the curly quotes and loaded psycopg2, I'm on to
another set of problems.
**
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call
On Tue, Sep 16, 2008 at 1:09 PM, NoviceSortOf <[EMAIL PROTECTED]> wrote:
>
> [snip]
> File "/var/www/bookstor/settings.py", line 80
>'django.contrib.admin',
>^
> SyntaxError: invalid syntax
>
>
You've got curly quotes in your settings.py file. You need to use
typewriter quotes.
Karen
-
apache conf file is configured as
*
SetHandler python-program
PythonPath "['/var/www'] + sys.path"
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE bookstor.settings
PythonOp
9 matches
Mail list logo