Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
physical
Commits
cf45e3f8
Commit
cf45e3f8
authored
Apr 22, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
71080628
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
apps.py
majia/apps.py
+1
-2
tasks.py
majia/tasks.py
+1
-1
No files found.
majia/apps.py
View file @
cf45e3f8
...
@@ -3,4 +3,4 @@ from django.apps import AppConfig
...
@@ -3,4 +3,4 @@ from django.apps import AppConfig
class
majiaConfig
(
AppConfig
):
class
majiaConfig
(
AppConfig
):
name
=
"majia"
name
=
"majia"
verbose_name
=
"马甲用户"
verbose_name
=
"马甲用户"
\ No newline at end of file
majia/tasks.py
View file @
cf45e3f8
...
@@ -16,7 +16,7 @@ def index_first():
...
@@ -16,7 +16,7 @@ def index_first():
return
None
return
None
@shared_task
@shared_task
(
name
=
"majia.tasks.get_cook"
)
def
get_cook
():
def
get_cook
():
data
=
open
(
"majia_email"
,
"r"
)
data
=
open
(
"majia_email"
,
"r"
)
list
=
[]
list
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment