Snippets Collections
# Redirect to home URL after login (Default redirects to /accounts/profile/)
LOGIN_REDIRECT_URL = '/'
{% if request.resolver_match.url_name == 'home' %} active {% endif %}
star

Fri Jan 01 2021 07:46:00 GMT+0000 (Coordinated Universal Time)

#django,python,django,django,django,python,django #django,python,django,django
star

Thu Dec 31 2020 21:46:48 GMT+0000 (Coordinated Universal Time)

#django,python,django,django #django,python,django

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension