Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manipulate Problem Order in List #43

Open
imnotkind opened this issue Mar 1, 2019 · 3 comments
Open

Manipulate Problem Order in List #43

imnotkind opened this issue Mar 1, 2019 · 3 comments

Comments

@imnotkind
Copy link
Member

쉬운 문제를 앞에 놓기 위해 순서를 쉽게 정할 수 있도록.
일단 현재 어떤 순서로 배치되는지부터 알아봐야할듯.

@imnotkind
Copy link
Member Author

priority field를 숫자로 추가하면 수정 시에 다른 숫자들을 과도하게 수정해야할 수도 있어서 좀 걱정

@imnotkind
Copy link
Member Author

점수 정렬도 하자

@imnotkind
Copy link
Member Author

imnotkind commented Mar 29, 2019

임시로 뉴비는 distributed points, breakthrough points가 0이기 때문에 문제 이름 + 문제 인스턴스의 Points(고정)로 소팅을 하겠음.
problem_instances = problem_list.probleminstance_set.order_by('points', 'problem__title')
추후에 어떻게 소팅할지는 잘 모르겠다.

  • 문제 이름 정렬
  • 문제 유효 포인트로 정렬
  • 등등...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant