thclark / wagtail_events

Events calendar management for wagtail
Other
10 stars 4 forks source link

App needs `app_label` #9

Closed cloudratha closed 5 years ago

cloudratha commented 5 years ago

I noticed while trying to index my app with elasticache that your app does not have an app_label defined.

This throws an error when reaching the AbstractEvent.

Creating an apps.py should fix it:

from django.apps import AppConfig

class WagtailEventsConfig(AppConfig):
    name = 'wagtailevents'
    verbose_name = 'WagtailEvents'
thclark commented 5 years ago

Fixed and released to pypi as v0.3.0.

Thanks for the issue @cloudratha - and congrats on being the first ever issue creator (other than me) on any of my OSS projects. The system works!

cloudratha commented 5 years ago

Haha, now you just need someone to do a PR :) EDIT: Just saw it's named "wagtail_references", is that from another project?

thclark commented 5 years ago

FFS hang on

thclark commented 5 years ago

now it's fixed. Sorry @cloudratha ... dashing between different tasks clearly not paying off today! [version 0.4.0)