Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Egna datormiljön
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TDP003 - Projekt
Egna datormiljön
Commits
84bb22a9
Commit
84bb22a9
authored
5 months ago
by
Oliwer Mattsson
Browse files
Options
Downloads
Patches
Plain Diff
Lade till ny data till data.json
parent
2dcbdb75
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MyPortfolio/data.json
+1
-1
1 addition, 1 deletion
MyPortfolio/data.json
MyPortfolio/myFlaskProject.py
+1
-1
1 addition, 1 deletion
MyPortfolio/myFlaskProject.py
with
2 additions
and
2 deletions
MyPortfolio/data.json
+
1
−
1
View file @
84bb22a9
...
...
@@ -44,7 +44,7 @@
"start_date"
:
"2009-09-08"
,
"short_description"
:
"A keygen for spotify. A break from the ads!"
,
"course_name"
:
"OK
\u
00c4NT"
,
"long_description"
:
"This program generates product-keys for spotify to emancipate the music starved mob from ad tyr
r
any!"
,
"long_description"
:
"This program generates product-keys for spotify to emancipate the music starved mob from ad tyra
n
ny!"
,
"group_size"
:
6
,
"academic_credits"
:
"WUT?"
,
"lulz_had"
:
"medium"
,
...
...
This diff is collapsed.
Click to expand it.
MyPortfolio/myFlaskProject.py
+
1
−
1
View file @
84bb22a9
...
...
@@ -41,7 +41,7 @@ def techniques():
search_field
=
request
.
form
.
getlist
(
'
search_field
'
,
None
)
techniques_search
=
request
.
form
.
getlist
(
'
technique
'
)
#
print(
techniques_search
)
print
(
f
"
Searching for:
"
,
search_query
)
print
(
search_field
)
filtered_projects
=
search
(
load
(
'
data.json
'
),
sort_by
=
sort_by
,
sort_order
=
sort_order
,
techniques
=
techniques_search
,
search
=
search_query
,
search_fields
=
search_field
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment