Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Request Backend #16

Open
Sreelajoyoti opened this issue May 14, 2024 · 4 comments
Open

Create Request Backend #16

Sreelajoyoti opened this issue May 14, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request functionality

Comments

@Sreelajoyoti
Copy link
Collaborator

Sreelajoyoti commented May 14, 2024

Description
Implemented the backend for handling order submissions. This includes forms, models, and routes to process and store order data.

Key Changes
Forms (forms.py)

Created OrderForm with fields: first_name, last_name, address, suburb, email, phone, meal, and submit.
Models (models.py)

Defined Order model with fields: id, first_name, last_name, address, suburb, email, phone, and meal.
Routes (routes.py)

Implemented routes for form submission (/) and confirmation page (/confirmation).

Additions:
under templates and static folder, Nishk will be adding the frontend files for create request form.

@Nishk139 Nishk139 added the enhancement New feature or request label May 14, 2024
@Nishk139
Copy link
Collaborator

Looks good, I think i wanted a few additions to integrate it from the front-end, into the forms.py, routes.py, and additionally ive wanted to add validators.py file for JS validation.

@Sreelajoyoti
Copy link
Collaborator Author

Sreelajoyoti commented May 14, 2024

Yeah I agree to the additions. it'll be great if you could make sure to pull my folder and make changes to it so you don't completely replace my changes.

@Nishk139
Copy link
Collaborator

Yes, and ill make sure to add you as a co-author.

@K1rk3y
Copy link
Owner

K1rk3y commented May 16, 2024

Make sure to follow the existing file structure there, and also it might be a good idea to add more graphics on the submit page?

@Sreelajoyoti Sreelajoyoti added documentation Improvements or additions to documentation functionality labels May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request functionality
Projects
None yet
Development

No branches or pull requests

3 participants