Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
E
esi-table-data
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esi-data-scrapping
esi-table-data
Commits
d1eef0c1
Commit
d1eef0c1
authored
7 years ago
by
Vasyl Bodnaruk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flag to scrap old news in model
parent
9451a02a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
models.py
esi/scraper/models.py
+1
-0
No files found.
esi/scraper/models.py
View file @
d1eef0c1
...
...
@@ -74,6 +74,7 @@ class Job(models.Model):
end_time
=
models
.
DateTimeField
(
default
=
None
,
null
=
True
,
blank
=
True
)
status
=
models
.
CharField
(
max_length
=
3
,
choices
=
STATUS
,
default
=
PENDING
)
query
=
models
.
CharField
(
max_length
=
255
,
default
=
''
,
null
=
True
,
blank
=
True
)
scrap_old_news
=
models
.
BooleanField
(
default
=
False
)
spider
=
models
.
ForeignKey
(
Spider
,
default
=
None
,
null
=
True
)
schedule_job
=
models
.
OneToOneField
(
PeriodicTask
,
on_delete
=
models
.
CASCADE
,
blank
=
True
,
null
=
True
,
default
=
None
)
...
...
This diff is collapsed.
Click to expand it.
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