Comments (5)
Let me take a look at this
from django-merlin.
There are three places the django-merlin will throw a 404:
- If the there is no slug in the kwargs, which indicates that the url pattern might be incorrect
- If it can not find a step for that slug and the slug is not the special keyword 'cancel' (used to cancel a session wizard)
- If you use any other HTTP method beyond GET and POST. Right now it only supports those two HTTP verbs.
Can you send me a gist of your wizard and url conf and I can take a look?
from django-merlin.
I am having the same problem here...... any thoughts? Gist here: https://gist.github.com/1700054
I added some descriptions to the Http404 exceptions and it is failing because it can't find a Step with the given slug. get_steps() finds the Steps I have defined though, but with a slug=''. HOWEVER print(self.slug) in Step.init() returns the right thing?! So it seems to get lost somewhere in between there and being retrieved from the session. It remembers the form though.......
Thanks in advance.
from django-merlin.
Ok, the squashing of errors using a 404 was removed. Now custom exceptions or existing exceptions should be raised.
from django-merlin.
Sorry, this was fixed in version 0.7
from django-merlin.
Related Issues (10)
- Merlin loosing session data HOT 1
- Exception Value: Caught AttributeError while rendering: 'BlockWizard' object has no attribute '__name__'
- _get_url_base fails if url string contains same name as the slug HOT 1
- Full example? HOT 1
- Merlin not handling errors in done HOT 1
- Can't we use ModelForm instead of subclassing forms from forms.Form HOT 1
- Would like a way to cancel and wizard HOT 1
- Do you have an example of inserting a new step after the first form is submitted? HOT 5
- How to set a dynamically added form's initial data based on a previously submitted form? HOT 1
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-merlin.