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 documentation states.  Are you sure
> you have models module being imported?  The line 'from django.db
> import models' should be at the top of all your models.py files.
>
> R.

That seems to be in order, the problems though were the confusion over
the
max_length (current usage) maxlength (seemingly from and older ver. of
django)
parameters in models.py, and not having setup a 'mysite' database to
begin with prior to running "python manage.py sqlall"

Chapter 5 [...Databases] in the Definative Guide to Django, makes
quick
mention of using command line CREATE DATABASE but its an easy detail
to pass over. We found going to phpPGadmin GUI for preliminary
database
creation, and subsequent data inspection after a succesful run of
manage.py sqlall a big help.

With Redhat we are swimming a little upstream, as something like
Ubuntu may
of made things easier by having better installation mechanisms, that
better match the django documentation.  Our idea was well, we have
python,
and apache already loaded on our production server so why not go for
it.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to