Lepsi Delani Orgu #35

Merged
zelvuska merged 6 commits from lepsi-delani-orgu into master 1 year ago
ledoian commented 1 year ago
Owner
There is no content yet.
ledoian added 1 commit 1 year ago
ledoian reviewed 1 year ago
if m.Organizator.objects.filter(osoba=o).exists(): continue
user = o.user
print(user)
user.groups.add(org_group)
ledoian commented 1 year ago
Poster
Owner

Tady to taky může spadnout. Teda, asi je správně, že to spadne, ale mělo by to padat řízeně. (Je potřeba nastudovat, jak z těchto funkcí vracet použitelné chyby.)

Tady to taky může spadnout. Teda, asi je správně, že to spadne, ale mělo by to padat řízeně. (Je potřeba nastudovat, jak z těchto funkcí vracet použitelné chyby.)
ledoian commented 1 year ago
Poster
Owner

Už by to mělo vracet fancy hlášky, snad.

Už by to mělo vracet fancy hlášky, snad.
ledoian reviewed 1 year ago
org_group = Group.objects.get(name='org')
print(queryset)
ledoian commented 1 year ago
Poster
Owner

Tenhle print tu být taky nemusí…

Tenhle print tu být taky nemusí…
ledoian marked this conversation as resolved
ledoian reviewed 1 year ago
org = m.Organizator.objects.create(osoba=o)
org = m.Organizator.objects.create(osoba=o, organizuje_od=datetime.now())
org.save()
udelej_orgem.short_description = "Udělej vybraných osob organizátory"
ledoian commented 1 year ago
Poster
Owner

s/j v/j z v/

s/j v/j z v/
ledoian marked this conversation as resolved
Owner

Funguje.

Funguje.
ledoian added 2 commits 1 year ago
ledoian added 1 commit 1 year ago
ledoian added 1 commit 1 year ago
ledoian added 1 commit 1 year ago
zelvuska merged commit cda00bbc4c into master 1 year ago
zelvuska deleted branch lepsi-delani-orgu 1 year ago
zelvuska deleted branch lepsi-delani-orgu 4 months ago
The pull request has been merged as cda00bbc4c.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.