Feature/events ref mail#110
Merged
Merged
Conversation
yakser
requested changes
Mar 26, 2023
| from events.constants import VERBOSE_EVENT_TYPE, MAIN_URL | ||
|
|
||
| # from django.conf import settings | ||
| # from django.contrib.auth.models import User |
| text: A TextField event text content. | ||
| short_text: A TextField event short text content. | ||
| cover_url: A URLField link to event cover image. | ||
| cover_url = models.URLField(null=False) |
Member
There was a problem hiding this comment.
вернуть докстринг cover_url: A URLField link to event cover image.
| short_text: A TextField event short text content. | ||
| cover_url: A URLField link to event cover image. | ||
| cover_url = models.URLField(null=False) | ||
| # datetime_created: A DateTimeField indicating date of creation. |
Member
There was a problem hiding this comment.
лишний коммент какой то, че тут творилось вообще аххва. какой то убитый докстринг, нужно поправить
| # datetime_created: A DateTimeField indicating date of creation. | ||
| datetime_created: A DateTimeField indicating date of creation. | ||
| datetime_updated: A DateTimeField indicating date of update. | ||
| tg_message_id: A IntegerField Telegram messaage id (for edit message) |
| verbose_name="Дата изменения", null=False, auto_now=True | ||
| ) | ||
| tg_message_id = models.IntegerField(blank=True, null=True) | ||
| website_url = models.URLField(null=False, default=MAIN_URL) |
| ) | ||
| tg_message_id = models.IntegerField(blank=True, null=True) | ||
| website_url = models.URLField(null=False, default=MAIN_URL) | ||
| event_type = models.PositiveSmallIntegerField(choices=VERBOSE_EVENT_TYPE, default=0) |
Member
There was a problem hiding this comment.
нужно дописать урл который возвращает VERBOSE_EVENT_TYPE. /events/types/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Изменены содержания сообщений, отправляемые пользователю при регистрации для подтверждения почты, смене пароля