Andy Schriner

Results 8 comments of Andy Schriner

I took a crack at implementing this. Added generator for GenericFK relations. Overall method: find GenericFK fields from model._meta.virtual_fields, add them to the list of fields to be processed, and...

Needs tests. Looks like you've got a big test suite - if you point me to where the tests should fit into the test suite I will write them.

I looked at the travis detail report and (having never used Travis before) my guess is that it is related to the django 1.6 switch. I naively dropped a "DJANGO_VERSION=1.6"...

Yeah, I don't like the version check idea so much either, but it's probably necessary to run the tests on multiple versions of django. On the bright side, it's really...

Yeah, the tests all pass locally for me (running django 1.6, python 2.7.3). I agree - looks like an issue with Travis. Andy Schriner [email protected] On Wed, Jul 23, 2014...

This is strange - if I import my own app's model (which has an FK to user using the string reference method) BEFORE importing LazyUser, then rel.to returns a class....

Good point about caching and ForeignKey relations. Maybe the issue is not related to caching? As you describe, I am returning the template's '' field in ''. (I also have...

Further info: Forgetting about the part with changing foreignkeys on my models... If I leave the foreign key alone, and have no cache settings in my settings.py, I will get...