codersforcauses / codersforcauses/elucidate

Refactor backend to properly get user models and query models

Open
#193 0 comments 0 reactions 0 assignees View on GitHub
backend debt difficulty::easy point::3
Dominant language
Python
Stars
9
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Basic Information
**[Give a brief summary of what the issue is about]**
Currently it is inconsistent across the apps on how the user models are being acquired and how models are being queried and consumed.

E.g. instead of using filters to select objects, use `get_model_or_404`

ensure all `get_user_model` is used everywhere

## Other Information
**[Are there any additional information that we should know about?]**

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the backend apps that acquire user models and query models, including uses of get_user_model, filters, and get_model_or_404. Review how each result is consumed; done means the apps consistently use the intended model-acquisition and query patterns.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.