Re: Django FormTools

2022-04-26 Thread Israel Lewis
1. Are you using a model form? if so, after you have check the request you can use Post.save()***post as the model name for example. 2. for styling use https://django-crispy-forms.readthedocs.io/ or create widgets with in the for and add the classes for each input. Hope this help

Django FormTools

2022-04-21 Thread ahmed doudou
hey everyone i'm using Django with wizard form and everithing work fine but i don't know how to styling inputs and i don't know how to save data on my database. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: Django formtools wizard produces blank page (No error returned)

2016-02-09 Thread James Schneider
. > > Yes, the templates referenced in each step should extend your main template, if you are doing something fancy in the template used for each step. Given the template in your OP, you probably don't even need to specify a template per step, since you aren't doing anything differe

Re: Django formtools wizard produces blank page (No error returned)

2016-02-08 Thread Martín Torre Castro
If I understand well, you mean that my form templates have to extend the main wizard template. Is that correct? In previous versions this was achieved by writing template_name = 'main_wizard_template.html' into the subclass of WizardView. Am I wrong? So, with {% extends 'registration/test_wizard.

Re: Django formtools wizard produces blank page (No error returned)

2016-02-08 Thread James Schneider
On Feb 7, 2016 11:46 AM, "Martín Torre Castro" < martin.torre.cas...@gmail.com> wrote: > > James or anyone, the wizard doesn't load the main template for the wizard, just the first step template form. Can you guess why? > The templates you included in your OP didn't have {% extends %} or {% block

Re: Django formtools wizard produces blank page (No error returned)

2016-02-07 Thread Martín Torre Castro
James or anyone, the wizard doesn't load the main template for the wizard, just the first step template form. Can you guess why? On 7 February 2016 at 02:05, Martín Torre Castro < martin.torre.cas...@gmail.com> wrote: > Solved. Silly error. The name for the template function in the wizard > shoul

Re: Django formtools wizard produces blank page (No error returned)

2016-02-06 Thread Martín Torre Castro
Solved. Silly error. The name for the template function in the wizard should be *get_template_names* and it was *get_templates_name*. Thank you anyway!!! On 2 February 2016 at 10:17, Martín Torre Castro < martin.torre.cas...@gmail.com> wrote: > Yes, those two templates are both entirely the code

Re: Django formtools wizard produces blank page (No error returned)

2016-02-02 Thread Martín Torre Castro
Yes, those two templates are both entirely the code posted. On 2 February 2016 at 10:07, James Schneider wrote: > > > On Tue, Feb 2, 2016 at 12:26 AM, Martín Torre Castro < > martin.torre.cas...@gmail.com> wrote: > >> I have DEBUG = True in my settings. When making the request the 200 http >> co

Re: Django formtools wizard produces blank page (No error returned)

2016-02-02 Thread James Schneider
On Tue, Feb 2, 2016 at 12:26 AM, Martín Torre Castro < martin.torre.cas...@gmail.com> wrote: > I have DEBUG = True in my settings. When making the request the 200 http > code appears. The 500 "Internal server error" code only appears when trying > to obtain info through the django-debug-toolbar >

Re: Django formtools wizard produces blank page (No error returned)

2016-02-02 Thread Martín Torre Castro
I have DEBUG = True in my settings. When making the request the 200 http code appears. The 500 "Internal server error" code only appears when trying to obtain info through the django-debug-toolbar On 2 February 2016 at 00:06, James Schneider wrote: > > On Sun, Jan 31, 2016 at 2:16 PM, Martín Tor

Re: Django formtools wizard produces blank page (No error returned)

2016-02-01 Thread James Schneider
On Sun, Jan 31, 2016 at 2:16 PM, Martín Torre Castro < martin.torre.cas...@gmail.com> wrote: > Hi, James, > > I'm trying with the django-debug-toolbar. I can't see anything because the > message "500: INTERNAL SERVER ERROR" appears. I tried in all the options > and keeps showing this 500 code mess

Re: Django formtools wizard produces blank page (No error returned)

2016-01-31 Thread Martín Torre Castro
got is: >>> >>> [23/Jan/2016 11:06:50]"GET /registration/wizard HTTP/1.1" 200 13729 >>> >>> and a blank page. No errors in browser or Eclipse console. >>> >>> There's no way of googling without errors. Please help. >

Re: Django formtools wizard produces blank page (No error returned)

2016-01-30 Thread Martín Torre Castro
ble stackoverflow, you can go to >> http://stackoverflow.com/q/34962499/1241715) >> >> >> *What did I do?* >> >> Firstly, I installed the formtools package with pip: >> >> django-formtools==1.0 >> Django==1.8.3 >> >> >&g

Re: Django formtools wizard produces blank page (No error returned)

2016-01-30 Thread James Schneider
find more comfortable stackoverflow, you can go to > http://stackoverflow.com/q/34962499/1241715) > > > *What did I do?* > > Firstly, I installed the formtools package with pip: > > django-formtools==1.0 > Django==1.8.3 > > > Following the instruc

Django formtools wizard produces blank page (No error returned)

2016-01-30 Thread Martin Torre Castro
s in browser or Eclipse console. There's no way of googling without errors. Please help. Thanks in advance (If you guys find more comfortable stackoverflow, you can go to http://stackoverflow.com/q/34962499/1241715) *What did I do?* Firstly, I installed the formtools package with pip: d

Re: Django formtools wizard with variable number of steps?

2015-11-24 Thread Shawn H
I did, but I'm using Django 1.8, so I'm using django-formtools <https://github.com/django/django-formtools>. The documentation appears to specify that the number of steps must be defined in advance; I'm wondering if that is indeed the case, or if there might a way to have

Re: Django formtools wizard with variable number of steps?

2015-11-23 Thread Luis Zárate
Did you see this https://docs.djangoproject.com/en/1.7/ref/contrib/formtools/form-wizard/ ? El lunes, 23 de noviembre de 2015, Shawn H escribió: > I'm wondering if I can use django-formtools to accomplish what I want to. I have a License object, with a one to many relationship to Lic

Django formtools wizard with variable number of steps?

2015-11-23 Thread Shawn H
I'm wondering if I can use django-formtools to accomplish what I want to. I have a License object, with a one to many relationship to LicenseArea. The number of LicenseArea objects varies for each license, so I would like a wizard that has: Step 0 - the license data Step 1 - the common

Django 1.8, django-formtools and 3rd party app setup.py

2015-04-07 Thread Troy Grosfield
install_requires portion of the setup.py file to work for both django < 1.8 and django >= 1.8 when the django-formtools app requires django version >= 1.7 <https://github.com/django/django-formtools/blob/master/setup.py#L122> which will cause conflicts with users using django &