Re: [Django] #15050: FormWizard URLConf documentation misleading

2011-06-01 Thread Django
#15050: FormWizard URLConf documentation misleading
-+-
   Reporter: |  Owner:  nobody
  root+django@…  | Status:  closed
   Type:  Bug|  Component:  contrib.formtools
  Milestone: |   Severity:  Normal
Version:  1.2|   Keywords:  wizard
 Resolution:  fixed  |  Has patch:  0
   Triage Stage:  Accepted   |Needs tests:  0
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  0  |
-+-
Changes (by jezdez):

 * status:  new => closed
 * resolution:   => fixed
 * easy:   => 0


Comment:

 Superseded by #9200.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15050: FormWizard URLConf documentation misleading

2011-04-13 Thread Django
#15050: FormWizard URLConf documentation misleading
-+-
   Reporter:  root+django@…  |Owner:  nobody
   Type:  Bug|   Status:  new
  Milestone: |Component:  contrib.formtools
Version:  1.2| Severity:  Normal
 Resolution: | Keywords:  wizard
   Triage Stage:  Accepted   |Has patch:  0
Needs documentation:  0  |  Needs tests:  0
Patch needs improvement:  0  |
-+-
Changes (by anonymous):

 * type:   => Bug
 * severity:   => Normal


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15050: FormWizard URLConf documentation misleading

2011-01-14 Thread Django
#15050: FormWizard URLConf documentation misleading
-+--
  Reporter:  root+dja...@localdomain.pl  | Owner:  nobody
Status:  new | Milestone:
 Component:  django.contrib.formtools|   Version:  1.2   
Resolution:  |  Keywords:  wizard
 Stage:  Accepted| Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by russellm):

  * needs_better_patch:  => 0
  * component:  Documentation => django.contrib.formtools
  * needs_tests:  => 0
  * keywords:  => wizard
  * needs_docs:  => 0
  * stage:  Unreviewed => Accepted

Comment:

 This isn't just a documentation issue -- it's pointing at a pretty glaring
 hole in the formwizard as currently implemented.

 Essentially, FormWizard needs to be updated to use Django's own class-
 based view structure (which took a long time to finalize specifically
 because of the issue you describe here). The good news is that there is at
 least one effort in the works to do just this -- Stephan Jäkel, has been
 working on [https://github.com/stephrdev/django-formwizard django-
 formwizard] to address this, and a couple of other problems with the
 FormWizard framework (#7439, #9200, #2).

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #15050: FormWizard URLConf documentation misleading

2011-01-11 Thread Django
#15050: FormWizard URLConf documentation misleading
+---
 Reporter:  root+dja...@localdomain.pl  |   Owner:  nobody
   Status:  new |   Milestone:
Component:  Documentation   | Version:  1.2   
 Keywords:  |   Stage:  Unreviewed
Has_patch:  0   |  
+---
 The documentation suggests the following way to plug a FormWizard into the
 URLConf:

 {{{
 from django.conf.urls.defaults import *
 from testapp.forms import ContactForm1, ContactForm2, ContactWizard

 urlpatterns = patterns('',
 (r'^contact/$', ContactWizard([ContactForm1, ContactForm2])),
 )
 }}}

 Unfortunately, this causes a single instance of the wizard to serve the
 whole application. Basically, all instance attributes are shared between
 all visitors (e.g. self.step, so the wizard is effectively unusable).

 To make the wizard handle every request in a dedicated instance, a wrapper
 function could be used, a'la:

 {{{
 def contact_wizard(request, *args, **kwargs):
 wizard = ContactWizard([ContactForm1, ContactForm2])
 return wizard(request, *args, **kwargs)

 urlpatterns = patterns('',
 (r'^contact/$', contact_wizard),
 )
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.