demo-hackernews-with-django.../app/web/forms.py
Andros Fenollosa 4d6f73ac63 Finish version
2021-06-25 14:25:14 +02:00

11 lines
210 B
Python

from django import forms
class NewsForm(forms.Form):
title = forms.CharField(
label='Titulo',
required=True
)
url = forms.URLField(
label='Ruta',
required=True
)