Skip to content

Commit

Permalink
Merge pull request #37 from AveryLevin/fix_double_config
Browse files Browse the repository at this point in the history
Assign AppConfig as default
  • Loading branch information
AveryLevin authored Jan 26, 2024
2 parents 3a70ee0 + 3907829 commit bf97fb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion autocompleter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = (1, 0, 5)
VERSION = (1, 0, 6)

from autocompleter.registry import registry, signal_registry
from autocompleter.base import (
Expand Down
1 change: 1 addition & 0 deletions autocompleter/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class SimpleAutocompleterConfig(AppConfig):

class AutocompleterConfig(SimpleAutocompleterConfig):
"""The default AppConfig for autocompleter which does autodiscovery."""
default = True

def ready(self):
self.module.autodiscover()

0 comments on commit bf97fb7

Please sign in to comment.