Re: How and where should I put a version number in my Django project?

2016-05-03 Thread Martín Torre Castro
I will look it at night. Thanks On 3 May 2016 at 11:36, Mike Dewhirst wrote: > On 3/05/2016 7:21 PM, Martin Torre Castro wrote: > >> I'm making a Django project consisting of several apps and I want to use >> a version number for the whole project, which would be useful for >> tracking the stat

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

2016-02-08 Thread Martín Torre Castro
27;registration/test_wizard.html' %} in *registration/test_step1.html and **registration/test_step2.html* it should work. I will try tonight. Thanks. On 8 February 2016 at 10:06, James Schneider wrote: > > On Feb 7, 2016 11:46 AM, "Martín Torre Castro" < > martin.torre.cas...

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

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 ent

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 maki

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

2016-02-02 Thread Martín Torre Castro
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 >

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

2016-01-31 Thread Martín Torre Castro
lates" shows "3 templates rendered". Anyway, I can't get the headers, the request or anything using the django-debug-toolbar. :-( I will keep on with testing this. On 30 January 2016 at 17:23, Martín Torre Castro < martin.torre.cas...@gmail.com> wrote: > I can't

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

2016-01-30 Thread Martín Torre Castro
I can't see the initial load, which is the same as saying that the first step does not load. El 30 ene. 2016 1:56 p. m., "James Schneider" escribió: > Your view is returning a 200 code, so it thinks it is finishing correctly > with no errors, probably the reason you don't see any errors. > > At w

Re: What am I supposed to do if I want a Wizard?

2015-12-09 Thread Martín Torre Castro
Thank you, Kristofer. It's interesting. I'm looking right now. It seems complex, but I will investigate, although I would prefer a more generic way of doing this, because I suspect I will be using many wizards soon. Any other suggestions? El 9 dic. 2015 10:56 p. m., "Kristofer Pettijohn" escribi

Re: Best way to trigger javascript function when returning a page from django view

2015-09-21 Thread Martín Torre Castro
o forms are > supposed to pre-fill all the fields when there is a validation error. > > On Sat, Sep 19, 2015 at 10:34 PM, Luis Zárate wrote: > >> >> >> In the success method do something like >> >> $('myform').reset (); >> I

Re: Best way to trigger javascript function when returning a page from django view

2015-09-19 Thread Martín Torre Castro
Maybe I should have made the context more clear. First of all, we're not using ModelForms but just Django Forms. It's true that when it's not filled correctly, the form returns the validation but we have cases in which the data in the fields is not returned when the form operation is not successf

Re: Not getting static files with django & heroku deployment

2015-07-05 Thread Martín Torre Castro
I have just read now your mail when awakening. I also love the work from Danny and Audrey and got his las two books "2 scoops...". I will look about this links along today (kind of holidays here) and answer soon. Thanks El 5/7/2015 3:44 a. m., "Malik Rumi" escribió: > Hi Martin, > > First let m