Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
m3_webInterface
Project
Project
Details
Activity
Releases
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
m3
m3_webInterface
Commits
930cb6b4
Commit
930cb6b4
authored
Aug 15, 2017
by
Mario Chirinos Colunga
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
database
parent
8a10dc8c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
0 deletions
+2
-0
.forms.py.swp
catalog/.forms.py.swp
+0
-0
updateDB.py
catalog/management/commands/updateDB.py
+2
-0
updateDB.pyc
catalog/management/commands/updateDB.pyc
+0
-0
No files found.
catalog/.forms.py.swp
deleted
100644 → 0
View file @
8a10dc8c
File deleted
catalog/management/commands/updateDB.py
View file @
930cb6b4
...
...
@@ -63,6 +63,8 @@ class Command(BaseCommand):
# print "no news match"
if
d
[
'title'
]
==
None
:
d
[
'title'
]
=
"Sin Titulo"
if
len
(
d
[
'title'
])
>=
512
:
d
[
'title'
]
=
d
[
'title'
][:
500
]
print
p
+
" "
+
str
(
newsDate
)
+
": "
+
d
[
'title'
]
# print type(d['topic'])
news
=
News
()
...
...
catalog/management/commands/updateDB.pyc
View file @
930cb6b4
No preview for this file type
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