-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from gri38/dev
start background sync at the right place (don't disturb collectstatic…
- Loading branch information
Showing
3 changed files
with
6 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,6 @@ | ||
from django.apps import AppConfig | ||
import time | ||
from django.conf import settings | ||
from .utils import start_synchronize_joplin | ||
|
||
|
||
class JoplinviewebConfig(AppConfig): | ||
default_auto_field = 'django.db.models.BigAutoField' | ||
name = 'joplin_vieweb' | ||
|
||
def __init__(self, app_name, app_module): | ||
AppConfig.__init__(self, app_name, app_module) | ||
self.sync_task_launched = False | ||
|
||
# def ready(self): | ||
# if not self.sync_task_launched: | ||
# self.sync_task_launched = True | ||
# start_synchronize_joplin() | ||
# # if you're running your app, using the python manage.py runserver command on Django, your application will run twice: One time to validate your models, and the other one to run your app. | ||
# # You can change this passing the option --noreload to the runserver command | ||
# # => to test synchro, run with --noreload to avoid 2 // synchro. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[metadata] | ||
name = django-joplin_vieweb | ||
version = 1.5 | ||
version = 1.6 | ||
author = gri38 | ||
author_email = [email protected] | ||
description = A Django app to view your Joplin notes online. | ||
|