V
V
vfvnvsyevsky2015-02-28 04:27:37
Django
vfvnvsyevsky, 2015-02-28 04:27:37

How to get a variable from a Django url on a POST request?

C url

127.0.0.1:8000/auth/login/?next=/profile
a POST request comes in, how to pull out "next"?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bromzh, 2015-02-28
@vfvnvsyevsky

request.GET.get('next')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question