hw3-5
hw3 - Введены типы данных в models.py, сайт переписан под django модели - DB переведена на PostgreSQL - Переписан docker compose файл, настроены network и volume - Добавлена команда генерации рандомных данных в db hw4 - Добавлены формы login, signup, logout, profile - Добавлены вопросы и ответы и их модели и формы hw5 - Добавлена загрузка и отображение аватарок - Добавлены лайки и дизайки, отметка правильного ответа
This commit is contained in:
1 parent
33379408ba
commit
466555ce05
26 files changed
+1722
-178
No files matched your search
@@ -8,21 +8,31 @@
|
||||
<h1>Sign In</h1>
|
||||
</div>
|
||||
|
||||
<p class="error">Sorry, wrong password!</p>
|
||||
|
||||
<form class="form">
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
{{ form.non_field_errors }}
|
||||
|
||||
<div class="form-row">
|
||||
<label for="login">Login</label>
|
||||
<input id="login" type="text" placeholder="Enter your login here">
|
||||
<label>Login</label>
|
||||
{{ form.username }}
|
||||
{{ form.username.errors }}
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<label for="password">Password</label>
|
||||
<input id="password" type="password" value="********">
|
||||
<label>Password</label>
|
||||
{{ form.password }}
|
||||
{{ form.password.errors }}
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="next" value="{{ next }}">
|
||||
|
||||
<div>
|
||||
<button class="button" type="button">Sign In!</button>
|
||||
<button class="button" type="submit">Sign In!</button>
|
||||
</div>
|
||||
<a href="signup">create new account</a>
|
||||
|
||||
<a href="{% url 'signup' %}">create new account</a>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user