Comments (2)
I agree this should raise a ValidationError
instead.
Can you paste me the full traceback? I'm having a hard time reproducing.
from django-mutant.
Sure, here it is:
Traceback:
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response
111. response = callback(request, *callback_args, **callback_kwargs)
File "/home/user/dev/virenvs/dynamicmodels/dynamodels/schemer/views.py" in field_create_wizard_view
153. return wizard(request, **kwargs)
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django/views/generic/base.py" in view
48. return self.dispatch(request, *args, **kwargs)
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django/contrib/formtools/wizard/views.py" in dispatch
223. response = super(WizardView, self).dispatch(request, *args, **kwargs)
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django/views/generic/base.py" in dispatch
69. return handler(request, *args, **kwargs)
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django/contrib/formtools/wizard/views.py" in post
278. if form.is_valid():
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django/forms/forms.py" in is_valid
124. return self.is_bound and not bool(self.errors)
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django/forms/forms.py" in _get_errors
115. self.full_clean()
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django/forms/forms.py" in full_clean
272. self._post_clean()
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django/forms/models.py" in _post_clean
332. self.instance.clean()
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django_mutant-0.0.2-py2.6.egg/mutant/contrib/related/models.py" in clean
140. super(ForeignKeyDefinition, self).clean()
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django_mutant-0.0.2-py2.6.egg/mutant/contrib/related/models.py" in clean
74. not self.to_model_class_is_mutable):
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django_mutant-0.0.2-py2.6.egg/mutant/contrib/related/models.py" in to_model_class_is_mutable
54. to_model_class = self.to.model_class()
File "/home/user/dev/virenvs/dynamicmodels/lib/python2.6/site-packages/django/db/models/fields/related.py" in __get__
343. raise self.field.rel.to.DoesNotExist
Exception Type: DoesNotExist at /tables/38/fields/add/
Exception Value:
from django-mutant.
Related Issues (20)
- ImportError: cannot import name 'force_unicode' HOT 1
- question about usage and pre-existing models HOT 10
- When working on multiple databases, mutant is trying to alter schema in all databases. HOT 1
- Cannot create initial DB HOT 3
- Error when creating ManyToMany Field with Django 1.9.5. HOT 1
- error in makemigrations HOT 2
- FieldDefinition didn't define any `field_class`. HOT 4
- is the model_ref need set app_label='mutant' HOT 2
- TypeError: Couldn't reconstruct field content_type on mutant.FieldDefinition: __init__() got multiple values for keyword argument 'polymorphic_type' HOT 3
- how to dynamic create foreignkeyfield HOT 2
- Django-mutant migration issues ( with fix ) HOT 1
- Error in migration HOT 2
- Error in view for New Field HOT 1
- How to make full use of django-mutant(Simply describe how it works?) HOT 4
- SQL query is executing even if the operation fails
- Unable to perform migration HOT 2
- __init__() missing 1 required positional argument: 'queryset' HOT 7
- How to get objects? HOT 1
- Getting started link broken HOT 1
- Working with DRF ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-mutant.