Answer the question
In order to leave comments, you need to log in
Random link generation in Django?
Hello.
How can I generate a random url (5-10 characters long) in Django?
Why do I need this:
I want to generate a page on which a certain number of people will be located. I want to use Tornado to track the quantity. Really?
Answer the question
In order to leave comments, you need to log in
Generate the variable part of the URL using random
Pass it to the view as a parameter. Well, like this:
In the view itself, you catch something
like that.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question