Say I have a login procedure in my website and that I login successfully.
After the user credential's successful authentication, I redirect to some page like
url(r'^account/profile/$',views.profile,name="profile")
Now my question is: if there are no arguments to the urlconf, how can I access the logged user's information in a view or template? (e.g. how can I know the username of that user in my template?)
Thanks in advance