show different content based on logged in user django
So I just learned Python/Django last weekend. What I'm trying to do is have url routes available with different content depending on who's logged in. So my usecase is I create 5 usernames/passwords and then those 5 users can login to read specific content/routes catered to them that no other user should be able to see. Right now I have these routes with correlating views. urlpatterns = [ url(r'^$', accounts.views.loginview), url(r'^accounts/', include('accounts.urls')), url(r'^sitepages/', include('sitepages.urls')), ] I get the auth thing, I'm filtering content to only logged in users using