__init__.py 821 B

123456789101112131415161718192021222324252627282930
  1. MALE = 'M'
  2. FEMALE = 'F'
  3. UNDEFINED = 'U'
  4. BOTH = 'B'
  5. GENDERS = [
  6. (MALE, 'Мужчина'),
  7. (FEMALE, 'Женщина'),
  8. (UNDEFINED, 'Неопределено'),
  9. (BOTH, 'Мужчина и женщина'),
  10. ]
  11. from .sport import Sport
  12. from .achievements import Achievements
  13. from .event import Event
  14. from .sportsman import Sportsman
  15. from .sportsman_gallery import SportsmanGallery
  16. from .achievement import Achievement
  17. from .event_gallery import EventGallery
  18. from .participant import Participant
  19. from .browse_event import BrowseEvent
  20. from .browse_sportsman import BrowseSportsman
  21. from .saved_event import SavedEvent
  22. from .saved_sportsman import SavedSportsman
  23. from .blocked_sportsman import BlockedSportsman
  24. from .sport_preferrence import SportPreferrence
  25. # created events ищутся через event.host