Raj Saha b4e2d6e874
Upload Chat-App
uploaded the required files
2022-10-09 10:52:32 +05:30

18 lines
496 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## {{request.user.userrname}} tells the username of the currently logged-in user. If the user is logged in,
it will give its username; if its not logged in, it will print nothing. The chat page looks like this now,
because there is no current logged-in user and {{request.user.username}} prints out nothing.
<!DOCTYPE html>
<html>
<body>
<form method ="post">
{% csrf_token %}
{{form.as_p}}
<br>
<button type = "submit">Login</button>
</form>
</body>
</html>