To test this PR you need to drop all tables from your DB first
Make sure that you have "migrations" folder in all aps, exept "forum" and "notifications"
Go to postman, and test methods for projects with location. You should have user and startup in your DB. Example JSON for POST method on endpoint api/projects/ for project creation:
{
"project_name": "Example Project",
"description": "Example description",
"industry": "Education",
"location": "Donetsk Oblast",
"budget_needed": 100,
"budget_ready": 100,
"status":"approved",
"goals":"10000"
}
You should see location_id = 5 in your DB for "Donetsk Oblast".
Also, PUT and PUTCH methods will change id for lacation in your DB if you use it. But GET method will show location name.
To test this PR you need to drop all tables from your DB first Make sure that you have "migrations" folder in all aps, exept "forum" and "notifications"
Go to postman, and test methods for projects with location. You should have user and startup in your DB. Example JSON for POST method on endpoint api/projects/ for project creation: { "project_name": "Example Project", "description": "Example description", "industry": "Education", "location": "Donetsk Oblast", "budget_needed": 100, "budget_ready": 100, "status":"approved", "goals":"10000" } You should see location_id = 5 in your DB for "Donetsk Oblast". Also, PUT and PUTCH methods will change id for lacation in your DB if you use it. But GET method will show location name.