mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Renamed a test file that has no tests.
This commit is contained in:
parent
0115f9faa5
commit
7a48f9abf2
3 changed files with 2 additions and 2 deletions
19
tests/generic_views/forms.py
Normal file
19
tests/generic_views/forms.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
from django import forms
|
||||
|
||||
from .models import Author
|
||||
|
||||
|
||||
class AuthorForm(forms.ModelForm):
|
||||
name = forms.CharField()
|
||||
slug = forms.SlugField()
|
||||
|
||||
class Meta:
|
||||
model = Author
|
||||
fields = ['name', 'slug']
|
||||
|
||||
|
||||
class ContactForm(forms.Form):
|
||||
name = forms.CharField()
|
||||
message = forms.CharField(widget=forms.Textarea)
|
Loading…
Add table
Add a link
Reference in a new issue