Changes between Initial Version and Version 1 of Ticket #10405, comment 47


Ignore:
Timestamp:
Dec 4, 2014, 8:40:18 AM (10 years ago)
Author:
Gwildor Sok

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10405, comment 47

    initial v1  
    1 For anyone else who ran into this: for me this occurred because I had a form import in my main `urls.py` file, to pass a form to a built in view by Django. That `forms.py` file had a ModelForm and the model it was associated with had a foreign key using a string for the model (because of earlier import errors). This didn't happen on 1.4, but it occurred when I upgraded Django to 1.5.
     1For anyone else who ran into this: for me this occurred because I had a form import in my main `urls.py` file, to pass a form to a built in view by Django. That `forms.py` file had a ModelForm and the model it was associated with had a foreign key using a string for the model (because of earlier import errors). This didn't happen on 1.4, but it occurred when I upgraded Django to 1.5. I fixed this by moving my form import line beneath the `admin.autodiscover()` line.
Back to Top