By default, there are 2 solutions for this.
First, register your page in the URLs as shown below:
from django.contrib.flatpages import views urlpatterns = [ url(r'^about-us/$', views.flatpage, {'url': '/about-us/'}, name='about'), ]
Thus, you can access it using the {% url %} tag, as a normal view.
Secondly, if you know the exact URL of this page, you can get the URL to it using:
{% url 'django.contrib.flatpages.views.flatpage' url='url_to_flatpage_here' %}
There is no other way, because all flatpages are identified by URL.
source share