codepedia2/apps/projects/forms.py

8 lines
205 B
Python

from django import forms
from .models import Project
class NewProjectForm(forms.ModelForm):
class Meta:
model = Project
fields = ['name','path','desc', 'github', 'ossean', 'language']