-
Notifications
You must be signed in to change notification settings - Fork 109
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
Custom String PID #510
Comments
For custom PIDs, we have a plan to support custom text PIDs, but all of us do not have time to implement it. Feel free to open a PR :) |
You can change/delete what you want by directly accessing the database. |
I just remember that you may try the following commands to add a problem with arbitrary PID if you can access the shell: alias pm="python3 -m"
pm vj4.model.adaptor.problem add system "Dummy Problem" "# It *works*" -1 1000 where 1000 is the PID. The arguments are the same as https://github.com/vijos/vj4/blob/master/vj4/model/adaptor/problem.py#L37 |
A 404 error will occur if you are trying to access string PID problem. |
GGed |
I would try to support string PID. |
Supported now. |
Please notice that masnn's version is not the official version and it is no warranty. |
We come up with a new proposal: allow users to set an alias/name/string PID (as we call it |
this feature is still developing.(#514)
…________________________________
From: Wende Tan <[email protected]>
Sent: Tuesday, May 14, 2019 5:30:15 PM
To: vijos/vj4
Cc: masnn; Comment
Subject: Re: [vijos/vj4] Custom String PID (#510)
We come up with a new proposal: allow users to set an alias/name/string PID (as we call it doc_name in the code) for each problem through the problem settings page.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#510?email_source=notifications&email_token=AHE2KDL7I3YX5T47EJEWNATPVKBCPA5CNFSM4HKY7FHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVK4XQY#issuecomment-492161987>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AHE2KDPIRMZDNAJQP2QUM7DPVKBCPANCNFSM4HKY7FHA>.
|
希望能支持字符串 PID,本人传题时想使用 CF 式的题目编号(42C 864F 这样的)。
另外,数字 ID 无法修改并且只能按顺序排下来,这是设计成这样的?如果能做成 SYZOJ 那样可以自由修改编号就好了
顺便吐槽一下,自己的域中不能删除题目(或许我应该开另一个 Issue)(这是 Feature?)
The text was updated successfully, but these errors were encountered: