Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #26 from gnufede/master
Browse files Browse the repository at this point in the history
Remove 7 characters to get rid of ".models"
  • Loading branch information
igalarzab authored Aug 1, 2016
2 parents b221d5e + 55dc12d commit 96d0457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqjobs/contrib/django/djsqjobs/finders.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_apps_names():
return [app.name for app in apps.get_app_configs()]
except ImportError:
from django.db import models
return [app.__name__[:-6] for app in models.get_apps()]
return [app.__name__[:-7] for app in models.get_apps()]


def register_all_jobs(worker):
Expand Down

0 comments on commit 96d0457

Please sign in to comment.