Last active
September 22, 2020 10:57
-
-
Save godfather68/51c144bce01a327c50f52605738b7e02 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 Customer, Request | |
class CreateRequestForm(forms.ModelForm): | |
customer = forms.CharField() # update | |
class Meta: | |
model = Request | |
fields = '__all__' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment