Re: submit buttons in django

2014-03-22 Thread Satinderpal Singh
On Mar 20, 2014 9:19 AM, "Harjot Mann"  wrote:
>
> I have a form in my app and after entering data into that form I
> submit that form
but I want an another submit button like "Submit and
> Add Event", so that after clicking on it it can redirect to an another
> form. Please help me that how can I do this?
>
What you exactly wish to do, as you submit the first form, it saves the
data to database, you simply need another button, which can redirect to the
same form, or to any another form.

But if you need not to submit the data from first form and wishes to
redirect the other form then you have to follow another approach.

--
Satinderpal Singh

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BiK19KvBfb5bwpoAr30i1Ww%3DRKmiJGKFzmR2ESOQLyEcXAfpw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: submit buttons in django

2014-03-20 Thread Harjot Mann
On Thu, Mar 20, 2014 at 4:12 PM, Venkatraman S  wrote:
> Add the required view to redirect once this button is clicked.


Will the data be saved into database with this method?

-- 
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhBm3v3DE31d8A_T0BDJC-dPUZHx20vnew_WszXMpopbFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: submit buttons in django

2014-03-20 Thread Venkatraman S
Add the required view to redirect once this button is clicked.

-Venkat


On Thu, Mar 20, 2014 at 9:18 AM, Harjot Mann wrote:

> I have a form in my app and after entering data into that form I
> submit that form but I want an another submit button like "Submit and
> Add Event", so that after clicking on it it can redirect to an another
> form. Please help me that how can I do this?
>
> --
> Harjot Kaur Mann
> Blog: http://harjotmann.wordpress.com/
> Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAB0GQhBN_k%3Db8NHf8L4oZ1EWr-uya%3DhbotCZPGNam6ezy77vAg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN7tdFSmLnn0EXYXgj0R_BodS4dGB0i38xEeG9JeG0Sg5Z1Dtg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


submit buttons in django

2014-03-19 Thread Harjot Mann
I have a form in my app and after entering data into that form I
submit that form but I want an another submit button like "Submit and
Add Event", so that after clicking on it it can redirect to an another
form. Please help me that how can I do this?

-- 
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhBN_k%3Db8NHf8L4oZ1EWr-uya%3DhbotCZPGNam6ezy77vAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.