Skip to content

add_event#28

Open
Shivani-15 wants to merge 2 commits intoKamandPrompt:masterfrom
Shivani-15:add_event
Open

add_event#28
Shivani-15 wants to merge 2 commits intoKamandPrompt:masterfrom
Shivani-15:add_event

Conversation

@Shivani-15
Copy link
Copy Markdown

I have added the code to create a new event in app and added two entries (eventTime and eventVenue) in createdatabase. Please have a look and suggest the necessary changes.

Copy link
Copy Markdown
Member

@Milind712000 Milind712000 left a comment

Choose a reason for hiding this comment

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

  • Remove the file Make_Tables/pycache/mysqlconnect.cpython-37.pyc , infact create a .gitignore and add pycache to it

app.py Outdated
flash('Login Unsuccessful. Invalid Email/Password')
return render_template('login.html',title='Login | SAC Portal, IIT Mandi',form=form)

@app.route("/add_event",methods=['GET'])
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

  • Make this route, POST only

@Shivani-15
Copy link
Copy Markdown
Author

I have done the changes and also changed the eventID to autoincrement. Please have a look.

@dheeraj135 dheeraj135 mentioned this pull request Apr 3, 2020
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