threeohclock / google-app-engine-django

Automatically exported from code.google.com/p/google-app-engine-django
Apache License 2.0
0 stars 0 forks source link

Doesn't work with newforms-admin branch @r7631 #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Copy or link a recent checkout (r7631 in my case) into your project
2. Try running ./manage.py shell
3. Get errors and traceback.

What is the expected output? What do you see instead?
Expecting python shell, get errors and traceback:

Traceback (most recent call last):
  File "./manage.py", line 18, in <module>
    InstallAppengineHelperForDjango()
  File "/Users/brooks/Django/google-app-engine-django/appengine_django/__init__.py", line 
373, in InstallAppengineHelperForDjango
    InstallAuthentication()
  File "/Users/brooks/Django/google-app-engine-django/appengine_django/__init__.py", line 
394, in InstallAuthentication
    from django.contrib.auth import models
  File "/Users/brooks/Django/google-app-engine-django/django/contrib/auth/models.py", line 
376, in <module>
    from django.contrib.auth import admin
  File "/Users/brooks/Django/google-app-engine-django/django/contrib/auth/admin.py", line 
1, in <module>
    from django.contrib.auth.forms import UserCreationForm
  File "/Users/brooks/Django/google-app-engine-django/django/contrib/auth/forms.py", line 
9, in <module>
    class UserCreationForm(forms.ModelForm):
  File "/Users/brooks/Django/google-app-engine-django/django/newforms/models.py", line 
237, in __new__
    opts.exclude, formfield_callback)
  File "/Users/brooks/Django/google-app-engine-django/django/newforms/models.py", line 
199, in fields_for_model
    if not f.editable:
AttributeError: 'StringProperty' object has no attribute 'editable'

What version of the product are you using? On what operating system?
r30 of google-app-engine-django, Mac OS X, 10.5.3

Original issue reported on code.google.com by brooks.t...@gmail.com on 14 Jun 2008 at 1:59

GoogleCodeExporter commented 8 years ago

Original comment by mattbrow...@gmail.com on 24 Jun 2008 at 11:02

GoogleCodeExporter commented 8 years ago
Is there a workaround for this?  I'm running into the same issue but I don't 
have any
experience with django.  What are my alternatives to using form_for_model with a
Model object?

Thanks,
Mike

Original comment by mikelong...@gmail.com on 29 Nov 2008 at 9:54

GoogleCodeExporter commented 8 years ago
I cannot reproduce this with Django 1.0.2.

Is this still an issue for anyone?

Original comment by mattbrow...@gmail.com on 15 May 2009 at 2:21