Hi Malcolm,

This is my traceback errors from copy&paste:

Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py"
in get_response
  74. response = callback(request, *callback_args, **callback_kwargs)
File "/www/htdocs/gfs_chefrevival/../gfs_chefrevival/shop/views.py" in
vendor
  133. new_detail = form.save()

  AttributeError at /vendor/Chef/1/
  'Order_DetailForm' object has no attribute 'save'

-------------------
This is traceback errors from interactive view:

133.     new_detail = form.save()
Local vars:

Variable                  Value
----------------------------------------
OrderDetailForm      <class 'django.newforms.models.Order_DetailForm'>
cart_id                    1L
form                        <django.newforms.models.Order_DetailForm
object at 0xa6b48d6c>


I think it has something to do with how I'm importing. This is my
complete import statements:

from django.shortcuts import render_to_response, get_object_or_404
from django.contrib import *
from gfs_chefrevival.store.models import *
from gfs_chefrevival.products.models import *
from gfs_chefrevival.vendors.models import Vendor
from django.http import *
from django.db import models
from django import newforms as forms              <---------
import datetime
from django.contrib.auth.models import User

Hopefully you guys can get more insight to this.
Thanks!


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

Reply via email to