Hi all,

i created a Model with a field declared as KeyListProperty
(AnotherModel).
I registered this Model in admin.py, but when i try to access the add
page for this model i get an "'ReferenceProperty' object has no
attribute 'all'" error.
Could anyone help me? Please?

Environment:

Request Method: GET
Request URL: http://localhost:8000/admin/manuale/abilita/add/
Django Version: 1.1
Python Version: 2.5.4
Installed Applications:
['jquery',
 'blueprintcss',
 'django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.admin',
 'django.contrib.webdesign',
 'django.contrib.flatpages',
 'django.contrib.redirects',
 'django.contrib.sites',
 'appenginepatcher',
 'ragendja',
 'manuale',
 'registration',
 'mediautils',
 'django_aep_export.admin_media',
 'django_aep_export.django_templates']
Installed Middleware:
('mediautils.middleware.MediaMiddleware',
 'ragendja.middleware.ErrorMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'ragendja.auth.middleware.HybridAuthenticationMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'ragendja.sites.dynamicsite.DynamicSiteIDMiddleware',
 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
 'django.contrib.redirects.middleware.RedirectFallbackMiddleware')


Traceback:
File "/home/manuel/Data/EKROSLIVE/Sito/app-engine-patch-sample/common/
appenginepatch/appenginepatcher/patch.py" in formfield
  173.         return self.get_form_field(**kwargs)
File "/home/manuel/Data/EKROSLIVE/Sito/app-engine-patch-sample/common/
appenginepatch/ragendja/dbutils.py" in get_form_field
  637.                     'queryset': self.reference_class.all(),

Exception Type: AttributeError at /admin/manuale/abilita/add/
Exception Value: 'ReferenceProperty' object has no attribute 'all'


--

You received this message because you are subscribed to the Google Groups 
"app-engine-patch" 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/app-engine-patch?hl=en.


Reply via email to