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

Update links #11

Open
bretwalker opened this issue Aug 23, 2019 · 0 comments
Open

Update links #11

bretwalker opened this issue Aug 23, 2019 · 0 comments
Labels
good first issue Good for newcomers

Comments

@bretwalker
Copy link
Member

Find any hard-coded internal links (e.g. https://github.com/codeforkyana/renters-rights/blob/master/renters_rights/units/templates/units/unit_form.html#L13) and update them to use Django-generated links.

For links in templates, that would entail changing them to use the url template tag: https://docs.djangoproject.com/en/2.2/ref/templates/builtins/#url

For links in Python code, that would entail changing them to use the reverse utility method: https://docs.djangoproject.com/en/2.2/ref/urlresolvers/

@bretwalker bretwalker added the good first issue Good for newcomers label Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant