What is City1Autocomplete? Show that code, specifically what it inherits from.
On Tue, Sep 19, 2017 at 7:58 PM, Mitul Tyagi <[email protected]> wrote: > Any help for this...Need to create new fields in case no match works for > autocomplete.... > > > On Tuesday, September 19, 2017 at 1:37:29 AM UTC+5:30, Mitul Tyagi wrote: >> >> How to use create_field in django autocomplete. As per the doc >> http://django-autocomplete-light.readthedocs.io/en/master/tutorial.html#creation-of-new-choices-in-the-autocomplete-form >> I am getting an error while doing so... " TypeError: City1Autocomplete() >> received an invalid keyword 'create_field'. as_view only accepts arguments >> that are already attributes of the class." >> >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/c34ed3e5-2817-4dc6-8d5b-1007e66f988e%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- Melvyn Sopacua -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Bgw1GXRnfgj5Xw0%2BGkohjyff-fJ_kXJ_SYAdb3dYpeYWvXt%2BA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

