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
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
.
>
>
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
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.
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
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
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
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
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
>
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
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
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.
>
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
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
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
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
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
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
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 &
19 matches
Mail list logo