Browse Source

update readme.md

master
Jakub Škrabánek 3 years ago
parent
commit
c364e0bd2a
  1. 6
      README.md

6
README.md

@ -90,7 +90,7 @@ def indexView(request):
return render(request,"index.html", context) return render(request,"index.html", context)
``` ```
9. vytvoříme složku *templates* v složce s aplikaci a vytvoříme ve složce jestě soubor *index.html*
9. vytvoříme složku *___templates___ ve složce s aplikaci* a vytvoříme ve složce jestě soubor *index.html*
```html ```html
<h1>Feedback formular</h1> <h1>Feedback formular</h1>
@ -119,7 +119,7 @@ Upozornění!!! PŘI KAŽDÉ ZMĚNĚ MODELS.PY JE POTŘEBA *MAKEMIGRATIONS*
> (.venv) python manage.py createsuperuser > (.venv) python manage.py createsuperuser
1. **HOTOVO - vložíme nějaké texty a zkontrolujeme admin panel**
12. **HOTOVO - vložíme nějaké texty a zkontrolujeme admin panel**
#### Postup pro hezčí formulář #### Postup pro hezčí formulář
@ -135,7 +135,7 @@ INSTALLED_APPS = (
) )
``` ```
3. vložit na začátek souboru index.html
3. vložit na začátek (1.řádek) souboru index.html
`{% load crispy_forms_tags %}` `{% load crispy_forms_tags %}`

Loading…
Cancel
Save