Code Monkey home page Code Monkey logo

Comments (5)

supercodepoet avatar supercodepoet commented on August 21, 2024

Let me take a look at this

from django-merlin.

supercodepoet avatar supercodepoet commented on August 21, 2024

There are three places the django-merlin will throw a 404:

  1. If the there is no slug in the kwargs, which indicates that the url pattern might be incorrect
  2. 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)
  3. 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.

acgray avatar acgray commented on August 21, 2024

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.

supercodepoet avatar supercodepoet commented on August 21, 2024

Ok, the squashing of errors using a 404 was removed. Now custom exceptions or existing exceptions should be raised.

from django-merlin.

supercodepoet avatar supercodepoet commented on August 21, 2024

Sorry, this was fixed in version 0.7

from django-merlin.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.