gasman / wagtail-form-example

An example of implementing a Django form on a Wagtail site, without using the 'wagtailforms' module
43 stars 12 forks source link

Do the Django form submissions show up in the Wagtail admin? #7

Closed tbrlpld closed 4 years ago

tbrlpld commented 4 years ago

Hi,

I was wondering if the form submissions show up in the Wagtail admin, like they are when using the Wagtail forms?

I would have tested this myself, but I can not get this example running on my system. I suspect it has something todo with the dependency versions that are not lining up correctly anymore. Tried installing with pip and poetry and Python 3.6 and 3.7. I keep getting an import error by the modelcluster package when I try any manage.py command (migrate, runserver, createsuperuser).

...
    from modelcluster.queryset import FakeQuerySet
  File ".../lib/python3.6/site-packages/modelcluster/queryset.py", line 6, in <module>
    from django.db.models import Model, prefetch_related_objects
ImportError: cannot import name 'prefetch_related_objects'
tbrlpld commented 4 years ago

Sorry, just found #2

That clarifies it.