Skip to content

Conversation

@Shivani-15
Copy link

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
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
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
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