Answer the question
In order to leave comments, you need to log in
Track the djangj page?
I tracked it this way, but when I went to ?page=2 it stopped working where did I go wrong ?
For title and search 3 elements - images, keywords and descriptionurl(r'^$', 'blog.views.index',name='index'),
{% url 'index' as home_url %}
{% if request.get_full_path == home_url %}
Answer the question
In order to leave comments, you need to log in
Here is the problem
request.get_full_path == "/"
home_url == "/?page=2"
def home_view(request):
where_i_am = 'home_page'
....
# html
{% if where_i_am == "home_page" %}...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question