Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Added web interface for data.json input of challenges and apis#8

Merged
rjchee merged 9 commits into
masterhacktx/api-directory:masterfrom
admin_apphacktx/api-directory:admin_appCopy head branch name to clipboard
Oct 28, 2017
Merged

Added web interface for data.json input of challenges and apis#8
rjchee merged 9 commits into
masterhacktx/api-directory:masterfrom
admin_apphacktx/api-directory:admin_appCopy head branch name to clipboard

Conversation

@theCreedo

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread app/admin_app.py
elif val == 'challenges':
return challenges(request)
else:
return render_template('form.html')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this indentation so weird

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see that in my code... rip. I'll reindent

Comment thread app/data.json Outdated
"chip_keywords": [
"REST",
"banking",
"REST",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these extra spaces

Comment thread app/admin_app.py Outdated
'image': request.form.get('image'),
'description': request.form.get('description'),
'link': request.form.get('link'),
'keywords': request.form.get('search_keywords').split(','),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[keyword.strip() for keyword in request.form.get('search_keywords').split(',')] so we can do split on comma-space as well as comma

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do

Comment thread app/admin_app.py Outdated
'name':request.form.get('company_name'),
'image': request.form.get('image'),
'link': request.form.get('link'),
'keywords': request.form.get('search_keywords').split(','),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here and for the chip keywords

@rjchee rjchee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

almost good

@rjchee rjchee merged commit 916ffb3 into master Oct 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.