Project

General

Profile

Bug #181

Error in entity forms with Django 1.5

Added by Harris Lapiroff over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Core
Target version:
-
Start date:
06/10/2013
Due date:
% Done:

0%

Estimated time:

Description

Looks like as of 1.5 this line raises this error:

54.                 if c.__metaclass__ != ModelFormMetaclass:

Exception Value: type object 'ModelForm' has no attribute '__metaclass__'

Seems like the code needs to be updated in light of https://code.djangoproject.com/ticket/14082 being resolved. This bug does prohibit sites that use the Django admin from being updated to 1.5 since this code gets called when admin.autodiscover() runs.

Also available in: Atom PDF