On Thu, Sep 11, 2008 at 12:44 PM, bkev <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I'm trying to set up this simple model in Django and I'm getting an
> "init got unexpected keyword argument 'raw_in_admin'" in Django 1.0
> release 9014 when doing a syncdb. I'm trying to get a non-dropdown
> ForeignKey (or OneToOneField) field...am I doing something wrong or
> was something changed in Django 1.0?
>
> class Depth(models.Model):
>        depth_feetinch = models.CharField(verbose_name="Depth",
> max_length=10)
>
> class Dimensions(models.Model):
>        depth = models.ForeignKey(Depth, raw_id_admin=True)
>

Yes, admin changed.  Depending on what your original frame of reference is,
other stuff (unicode, autoescape) may have changed as well.   You'll want to
take a look at:

http://docs.djangoproject.com/en/dev/releases/1.0-porting-guide
Karen

--~--~---------~--~----~------------~-------~--~----~
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