specialunderwear / django-easymode

Quickly build backends for flash/flex websites with Django.
GNU General Public License v3.0
33 stars 20 forks source link

ForeignKeyAwareAdmin.change_view #11

Closed mitbra closed 12 years ago

mitbra commented 12 years ago

Hi There!

I've made a change that was preventing me from using this particular class in my app that uses django 1.4. The gist is that the change_view method has a new argument.

change_view(self, request, object_id, extra_context=None)

is now looking like

change_view(self, request, object_id, form_url='', extra_context=None)
specialunderwear commented 12 years ago

Ok that means the django minimum version should be changed in setup.py. Could you please add that to this pull request?

mitbra commented 12 years ago

Done! I assumed we were referring to the pip requirements file. I missed that as you mentioned.

specialunderwear commented 12 years ago

Thanks, but please not that ForeignKeyAwareModelAdmin is deprecated in favor of http://packages.python.org/django-easymode/tree/index.html

mitbra commented 12 years ago

I didn't know that - Thanks!