When I ask a question. How is the link generated after asking it? in which file is that function, that generates it, please?

asked 06 Sep '10, 13:33

Stefan's gravatar image

Stefan
38158
accept rate: 0%


It's a slug created using the django slugify function. The actual link creation foes on /forum/models/question.py. If you want to change it, I recommend you to make it as a module.

link

answered 06 Sep '10, 15:46

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.5k65570
accept rate: 52%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×45
×10

Asked: 06 Sep '10, 13:33

Seen: 534 times

Last updated: 06 Sep '10, 15:46

powered by OSQA