Hi Salimon,
Thank you for the code and help.
When I update to your code I get the following error in the browser
Exception Type: AttributeError
Exception Value:
'ModelFormOptions' object has no attribute 'concrete_fields'
Im not sure why
my models.py
class Businessownercreate(models.M
It seems the model & form class names are clashing. If you want use the
same name, you can import each module as a whole.
Edited:
from . import models, forms
def editbusiness(request):
> data = models.Businessownercreate.objects.all()
> if request.method == "POST":
> form = forms.Businessownercr
2 matches
Mail list logo