Skip to content

Commit

Permalink
Fixed custom_tags name
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaroscelza committed Nov 23, 2024
1 parent c4a8e04 commit 9bd0288
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
'django.contrib.messages.context_processors.messages',
],
'libraries': {
'generic_helper': 'templatetags.custom_tags',
'custom_tags': 'templatetags.custom_tags',
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "layouts/main.html" %}
{% load generic_helper %}
{% load custom_tags %}

{% block title %}
<title>{% current_page_title "Home" %}</title>
Expand Down
2 changes: 1 addition & 1 deletion templates/layouts/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load generic_helper %}
{% load custom_tags %}

<header class="navbar navbar-fixed-top navbar-inverse">
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion templates/layouts/main.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
{% load static generic_helper %}
{% load static custom_tags %}

<html lang="en">
<head>
Expand Down

0 comments on commit 9bd0288

Please sign in to comment.