problem in pattern matching in urls.py and redirecting to another page after few secs

8 views
Skip to first unread message

praveen bhuvi

unread,
Nov 2, 2018, 7:41:40 AM11/2/18
to Django users
Now my 1st problem is in views.py i have a function , now in that function when certain condition is met i have to redirect to another page after 10 sec or 20 sec.
my 2nd problem is i dont know how to set (or) match the pattern in [application]/urls.py
Message has been deleted

Manjunath

unread,
Nov 2, 2018, 9:12:51 AM11/2/18
to django...@googlegroups.com
you can easily use java script set_timeout method for redirection after certain time.

Elaborate your second question. Provide relevant screenshots if possible.

On Fri, Nov 2, 2018 at 5:11 PM praveen bhuvi <praveenb...@gmail.com> wrote:
Now my 1st problem is in views.py i have a function , now in that function when certain condition is met i have to redirect to another page after 10 sec or 20 sec.
my 2nd problem is i dont know how to set (or) match the pattern in [application]/urls.py

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/54f8b7de-cbbd-4038-b0ab-d28bc29a8b84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks & Regards,
Manjunath

amit pant

unread,
Nov 2, 2018, 9:33:59 AM11/2/18
to django...@googlegroups.com
yes, you can use javascript and for url we need to see what you want to do.
Would be good if you provide screenshot.
Thanks


On Fri 2 Nov, 2018, 6:42 PM Manjunath, <dmanju....@gmail.com> wrote:
you can easily use java script set_timeout method for redirection after certain time.

Elaborate your second question. Provide relevant screenshots if possible.

On Friday, November 2, 2018 at 5:11:40 PM UTC+5:30, praveen bhuvi wrote:
Now my 1st problem is in views.py i have a function , now in that function when certain condition is met i have to redirect to another page after 10 sec or 20 sec.
my 2nd problem is i dont know how to set (or) match the pattern in [application]/urls.py

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
Reply all
Reply to author
Forward
0 new messages