Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload Models.py #77

Open
jwmeidinger opened this issue Oct 11, 2019 · 1 comment
Open

Upload Models.py #77

jwmeidinger opened this issue Oct 11, 2019 · 1 comment

Comments

@jwmeidinger
Copy link

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

models.txt

@mmcardle
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants