CRUD with MySQL, Django and Sass.
To have the same data in db:
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Clarissa', 'Ethridge', '[email protected]', '(434) 9545739', '22 Green Ridge Road', 'Universitas Kristen Krida Wacana');
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Hayden', 'Tuma', '[email protected]', '(376) 2462867', '06 Darwin Way', 'Nilai University College');
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Henka', 'Itzkin', '[email protected]', '(501) 5380519', '114 Prairie Rose Center', 'Université de N''Djamena');
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Dione', 'Barhem', '[email protected]', '(123) 4618486', '40913 Buhler Hill', 'Universität Mannheim');
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Farly', 'Quade', '[email protected]', '(148) 5496531', '4 Sunnyside Park', 'Universitas Andalas');
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Savina', 'Crunkhurn', '[email protected]', '(971) 3459878', '51 Bay Terrace', 'Springfield College');
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Pail', 'Angood', '[email protected]', '(864) 1882130', '330 Stephen Circle', 'International University of Business Agriculture and Technology');
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Jewel', 'Moughtin', '[email protected]', '(680) 1781628', '943 Coleman Drive', 'Gondar University');
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Yolande', 'Slaymaker', '[email protected]', '(782) 2847556', '138 Becker Park', 'Ho Chi Minh City University of Agriculture and Forestry');
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Ginnifer', 'Weond', '[email protected]', '(643) 2178272', '094 Canary Hill', 'Universidad Católica Santo Toribio de Mogrovejo');
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Chadd', 'Beatson', '[email protected]', '(640) 1760306', '08455 Transport Street', 'Universidad Mexicana del Noreste');
insert into crud_employee (first_name, last_name, email, phone, location, university) values ('Jerad', 'Liccardi', '[email protected]', '(891) 5589766', '56199 Gale Center', 'University of Stavanger');
Data from mockaroo.com
Dependencies, in .
:
pip install -r requirements.txt
Into the ./src/
folder, to run the django server, copypaste this:
py manage.py runserver