Friday, September 27, 2019

Re: modelfields

Hi Challa,

On 27/09/2019 08.50, challa.Harikrishna chowdary wrote:
> Hi
>
>  what is an error ple reply me any one urgent
>
> django.core.exceptions.ImproperlyConfigured: Creating a ModelForm
> without either the 'fields' attribute or the 'exclude' attribute is
> prohibited; form Register_ModelForm needs updating.
>

It seems like the error message is telling you that you trying to create
a ModelForm without 'attribute' or 'exclude' fields.

Have you tried updating your 'Register_ModelForm' as the error message
clearly tells you to?

What exactly is it you don't understand? The error message seems very
clear to me...

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bb67d7e9-8e65-25d2-8429-fe9c6e8ee2ee%40stacktrace.dk.

No comments:

Post a Comment