ljg.sh/ljg/redirect/forms.py

10 lines
164 B
Python
Raw Permalink Normal View History

2023-10-16 21:42:51 +02:00
from django import forms
from .models import Redirect
class RedirectForm(forms.ModelForm):
class Meta:
model = Redirect
fields = ("target",)