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
c27d7706
Commit
c27d7706
authored
Jun 07, 2017
by
Vasyl Bodnaruk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change html in add news
parent
58413d3d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
add_news.html
esi/templates/add_news.html
+3
-0
forms.py
esi/webapp/forms.py
+0
-1
No files found.
esi/templates/add_news.html
View file @
c27d7706
...
...
@@ -82,6 +82,7 @@
<input
type=
"text"
id=
"industry"
multiple
class=
"multiselect"
data-url=
"{% url 'auto' slug='industry' %}"
data-load-once=
"true"
...
...
@@ -96,6 +97,7 @@
<input
type=
"text"
id=
"function"
multiple
class=
"multiselect"
data-url=
"{% url 'auto' slug='function' %}"
data-load-once=
"true"
...
...
@@ -131,6 +133,7 @@
<input
type=
"text"
id=
"technology"
multiple
class=
"multiselect"
data-url=
"{% url 'auto' slug='technology' %}"
data-load-once=
"true"
...
...
esi/webapp/forms.py
View file @
c27d7706
...
...
@@ -10,7 +10,6 @@ class NewsForm(forms.Form):
news
=
News
.
objects
.
get
(
pk
=
self
.
data
[
'news_id'
])
news
=
self
.
_make
(
news
)
news
.
save
()
print
(
news
.
technology_id
)
def
create
(
self
):
news
=
News
()
...
...
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