mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
refactor(dynamic): enhance Django CBV handling by distinguishing ClassMethod entry kinds, improve test coverage across fixtures, and refine run_spec logic
This commit is contained in:
parent
6d0e4a5afd
commit
cb3b39d892
11 changed files with 326 additions and 26 deletions
|
|
@ -0,0 +1,9 @@
|
|||
from django.views import View
|
||||
|
||||
import os
|
||||
|
||||
|
||||
class UserCommandView(View):
|
||||
def get(self, payload):
|
||||
os.system(payload)
|
||||
return "ok"
|
||||
Loading…
Add table
Add a link
Reference in a new issue