Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not hardcode urls in template #19

Open
haoqili opened this issue Jul 4, 2011 · 2 comments
Open

not hardcode urls in template #19

haoqili opened this issue Jul 4, 2011 · 2 comments

Comments

@haoqili
Copy link
Owner

haoqili commented Jul 4, 2011

This standard

haoqili added a commit that referenced this issue Jul 19, 2011
haoqili added a commit that referenced this issue Jul 19, 2011
haoqili added a commit that referenced this issue Jul 19, 2011
…tance as first argument (got nothing instead)
@haoqili
Copy link
Owner Author

haoqili commented Jul 19, 2011

check this blog about my process http://curioushq.blogspot.com/2011/07/django-urls-best-practice.html

haoqili added a commit that referenced this issue Jul 19, 2011
@haoqili
Copy link
Owner Author

haoqili commented Aug 16, 2011

mgoodwin: So in Django templates, you wouldn't normally have a link that looks like <a href="/something/here">
[06:23am] mgoodwin: You'd do <a href="{% url some.view %}">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant