move logic to model and remove potential harmful code (avoid using del) #32
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Test Deployed
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ereuse/devicehub-django#32
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/109-small-refactors-public-website"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Este pull request closes https://gitea.pangea.org/ereuse/projectes/issues/109.
move logic to model and remove potential harmful code (void useing del)to move logic to model and remove potential harmful code (avoid using del)Hay otra forma que te quita el problema del de copiar las evidencias. La forma que se me ocurre es pasar la logica a la plantilla. Osea la plantilla es la que renderiza o no la información dependiendo de que rol tiene ese usuario. Asi no se toca la información base de la evidencia.
Ok para cuando se debe renderizar en la vista, pero para cuando se tiene que devolver el JSON? Como podemos mover esta lógica en la plantilla?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.