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

Python/Django crashes if a model has a field named "model" #6

Open
thurloat opened this issue Feb 10, 2012 · 0 comments
Open

Python/Django crashes if a model has a field named "model" #6

thurloat opened this issue Feb 10, 2012 · 0 comments
Labels

Comments

@thurloat
Copy link
Member

as the title says, try naming a field in your model like:

model = CharField()

Accessing the handler leads to python crash without any error.

Reference

https://bitbucket.org/jespern/django-piston/issue/190/python-django-crashes-if-a-model-has-a

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

No branches or pull requests

1 participant