mustafacagataytulun / bounswe573-2022 Goto Github PK
View Code? Open in Web Editor NEWMy personal homework and assignment repository for SWE573 course in Boğaziçi University.
My personal homework and assignment repository for SWE573 course in Boğaziçi University.
Install a suitable version of Python for Django.
Implement feature for viewing questions in colearning space. Both guests and users should be able to view questions in the colearning space.
Implement profile editing feature. Users should be able to edit their profiles.
Implement feature for viewing quizzes in colearning space. Both guests and users should be able to view quizzes.
https://github.com/mustafacagataytulun/bounswe573-2022/wiki/Colearning-Application-Mockups#view-quiz
Define requirements for the Co-Learning application.
Implement feature for editing glossary in colearning space. Users should be able to edit the glossary.
Create a Research section on repository wiki to document what you learned on Assignment#1.
What is expected from this application?
Create the initial Django project from standard Django template.
Create List view.
Admin screens are not wanted in production. It would be better to delete them altogether due to security.
Implement feature for creating/editing articles in colearning space. Users should be able to create new articles or edit existing articles.
Design general layout of the application.
Create a deployment pipeline. The pipeline should build the project, run tests, containerize the application and deploy it to an online place, such as AWS.
Install the latest stable version of Django.
Implement creating colearning space feature. Users should be able to create colearning spaces.
Create Detail view.
Implement feature for listing quizzes in colearning space. Both guests and users should be able to list quizzes.
Create Game model.
Observed Behavior:
List view shows games ordered by ascending id.
Expected Behavior:
List view should show games ordered by descending completion date.
Implement home page. Both guests and users should be able to use the same page with different fields.
https://github.com/mustafacagataytulun/bounswe573-2022/wiki/Colearning-Application-Mockups#home-not-logged-in
https://github.com/mustafacagataytulun/bounswe573-2022/wiki/Colearning-Application-Mockups#home-logged-in
Create the database and configure Django to use it.
Implement feature for viewing glossary in colearning space. Both guests and users should be able to view the glossary.
Implement feature for listing articles in colearning space. Both guests and users should be able to view article list.
Upload deliverables for the colearning application.
Implement search feature. Both guests and users should be able to search the spaces.
Implement registration feature. Guests should be able to register themselves.
https://github.com/mustafacagataytulun/bounswe573-2022/wiki/Colearning-Application-Mockups#registration
https://github.com/mustafacagataytulun/bounswe573-2022/wiki/Colearning-Application-Mockups#registration-result
Implement profile viewing feature. Users should be able to view not only their own profile, but also profile of other users.
Use same-page approach for this.
https://github.com/mustafacagataytulun/bounswe573-2022/wiki/Colearning-Application-Mockups#view-my-profile
https://github.com/mustafacagataytulun/bounswe573-2022/wiki/Colearning-Application-Mockups#view-other-profile
Learn about Django framework.
Implement general layout of the colearning space. This should be done without the underlying functionality for articles, questions, quizzes and glossary.
Space creation page can be accessed by unauthorized users right now. Add some kind of guard to restrict access.
Implement feature for viewing articles in colearning space. Both guests and users should be able to view articles.
Draw screen mockups for Co-Learning application.
Put a suitable readme for Games I Played project.
Create project plan, define milestones, and open necessary issues.
Implement feature for asking questions in colearning space. Users should be able to ask questions in the colearning space.
Implement login feature. Users should be able to login with their credentials.
https://github.com/mustafacagataytulun/bounswe573-2022/wiki/Colearning-Application-Mockups#login
Publish the application on some service.
As part of learning, watch the "Git For Ages 4 And Up" video on Youtube.
Create initial project template with Django. It should connect a corresponding PostgreSQL database.
Implement feature for listing questions in colearning space. Both guests and users should be able to view the list of questions.
Install a suitable version of PostgreSQL for Django.
Implement feature for creating/editing quizzes in colearning space. Users should be able to create new quizzes or edit existing quizzes.
Play with APIs of Wikidata.
Anonymous users cannot view inside colearning spaces and get error.
Environment:
Request Method: GET
Request URL: http://localhost:8000/spaces/14/articles
Django Version: 4.0.4
Python Version: 3.8.10
Installed Applications:
['articles',
'dashboard',
'glossary',
'spaces',
'users',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_bootstrap5',
'markdownify.apps.MarkdownifyConfig',
'storages']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Traceback (most recent call last):
File "/home/mustafacagataytulun/code/bounswe573-2022/colearnapp/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/home/mustafacagataytulun/code/bounswe573-2022/colearnapp/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/mustafacagataytulun/code/bounswe573-2022/colearnapp/spaces/views.py", line 45, in articles
has_user_joined = request.user.has_joined_to_space(id)
File "/home/mustafacagataytulun/code/bounswe573-2022/colearnapp/venv/lib/python3.8/site-packages/django/utils/functional.py", line 259, in inner
return func(self._wrapped, *args)
Exception Type: AttributeError at /spaces/14/articles
Exception Value: 'AnonymousUser' object has no attribute 'has_joined_to_space'
Create UML use case diagram for colearning application.
Follow the tutorial on Django website and complete it.
Define the application on high level. What is the purpose of this application?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.