Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bsavelev committed Nov 21, 2013
1 parent d52f450 commit 72acf0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_settings/management.py
Expand Up @@ -11,7 +11,7 @@ def initialize_data(sender, **kwargs):
for name, type_name_and_value in DEFAULT_SETTINGS.items():
type_name, value = type_name_and_value

if not dataapi.data.exists(type_name):
if not dataapi.data.exists(name):
dataapi.data.set(type_name, name, value)

signals.post_syncdb.connect(initialize_data, sender=models)

0 comments on commit 72acf0e

Please sign in to comment.