Project training how to use django
- Create virtualenv
- mkvirtualenv name_virtualenv
- workon name_virtualenv
- Install environment with requirements.txt
- pip install requirements.txt
- Migrate database
- python manage.py migrate
- Create superuser
- python manage.py createsuperuser (user login admin)
- Copy file and folder in folder data_test to folder root.
- Dumpdata and loaddata
- python manage.py dumpdata > [name.json]
- python manage.py loaddata [name.json]
- Run
- python manage.py runserver [port] (default: 8000)
1. Singin, singout
2. CRUD courses
3. Add teacher to control course
4. Create subject for course
5. Create tasks for a subject (have deadline)
6. Prevent users register subjects
7. Post blogs.
1. Signin, singnout, update profile, change password
2. List subjects by catalogue
3. View profile teacher create subject
4. View all profile students join subject
5. Can rate and review subject
6. Register subject
7. View task of subjects
Framgia VN