<filename>app/shortener/forms.py<gh_stars>0
from django import forms

from .models import URL


class URLForm(forms.ModelForm):
	
	class Meta:
		model = URL
		fields = ('long_url',)
	
<filename>app/shortener/forms.py<gh_stars>0
from django import forms

from .models import URL


class URLForm(forms.ModelForm):
	
	class Meta:
		model = URL
		fields = ('long_url',)
	