On Aug 6, 1:32 pm, Matthew <matthew.g.nor...@gmail.com> wrote:
> $ ~/dev/source/cms: pwd
> /home/matthew/dev/source/cms
> $ ~/dev/source/cms: python
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.>>> 
> import coltrane
> >>> from coltrane import *
> >>> c = coltrane.Category()

But Category is in coltrane.models. So do:

from coltrane.models import Category
c = Category()

--
DR.

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to