Greetings Müller,
In order for your template to load for that specific page, you have to state it under that page's view in views.py
Eg:
class IndexView():
template_name = "index.html"
// Or if it's a function view
def index(request): return render(request, 'app/index.html', context)
Hope it helps!
Sincerely,
Kai Wey
-- You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPcVkjioujw_kbhP9tnT3RZqZi5_cs3W7eU66MNirGeg%3DDo6-A%40mail.gmail.com.
No comments:
Post a Comment