Skip to content

The only missing feature #1

@stto3703

Description

@stto3703

user = authenticate(self)
if not user: return

note = Note.get_by_id(int(noteId)) if noteId else Note(user=user)

if not note:
self.error(404)
return

if note.user and note.user != user:
self.error(403)
return

note.delete()
self.redirect('/')

:)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions