Lepsi Delani Orgu #35

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

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

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

Tenhle print tu být taky nemusí…

Tenhle print tu být taky nemusí…
ledoian marked this conversation as resolved
ledoian reviewed 2 years 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"
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 2 years ago
ledoian added 1 commit 2 years 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 5 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.