Created
December 17, 2015 12:56
-
-
Save RodolfoSilva/2e47b48d118bd49362f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django import forms | |
from .models import Categoria | |
class CategoriaForm(forms.ModelForm): | |
class Meta: | |
model = Categoria | |
fields = '__all__' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment