django_builder
django_builder copied to clipboard
Upload Models.py
When uploading the models.py the file is accepted and something happens, by the upload button but soon goes back to what it was before. Maybe i'm just using it wrong but does the file need to be blank? below is the file that i tried uploading. I also have some other questions on your program if you don't mind. I just followed you on twitter @J0rdanMeidinger
Hi @jwmeidinger
Looks like a bug, the uploads of models.py quite strict.
Currently it looks for models in the file like this:
class User(models.Model):
This needs to be a bit more forgiving and try to find models that inherit from other models.