Git Product home page Git Product logo

bounswe573-2022's People

Contributors

dependabot[bot] avatar mustafacagataytulun avatar

Watchers

 avatar  avatar

bounswe573-2022's Issues

Remove Admin Screens

Admin screens are not wanted in production. It would be better to delete them altogether due to security.

Deployment Pipeline

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.

Incorrect List View Ordering

Observed Behavior:
List view shows games ordered by ascending id.

Expected Behavior:
List view should show games ordered by descending completion date.

Search

Implement search feature. Both guests and users should be able to search the spaces.

Unauthorized Access

Space creation page can be accessed by unauthorized users right now. Add some kind of guard to restrict access.

Put README

Put a suitable readme for Games I Played project.

Footer not Snapped to Bottom

Footer is rendered in the middle of the page if the page is not high enough for the screen. It should snap to bottom even if the content of the page is short.

image

Initial Project Template

Create initial project template with Django. It should connect a corresponding PostgreSQL database.

Error when unauthorized user viewing a Colearning Space

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.