textify package¶
Subpackages¶
Submodules¶
textify.apps module¶
- class textify.apps.TextifyConfig(app_name, app_module)¶
Bases:
django.apps.config.AppConfig
Configuration class for textify application.
- default_auto_field¶
Default primary key for models in app.
- Type
str
- name¶
Name of application.
- Type
str
- default_auto_field = 'django.db.models.BigAutoField'¶
- name = 'textify'¶
textify.models module¶
- class textify.models.Note(*args, **kwargs)¶
Bases:
django.db.models.base.Model
Note model for storing notes
- message¶
Note message, can’t be blank and no longer than 160 characters. Required.
- Type
django.db.models.CharField
- view_count¶
View count of message, increse after GET request for all messages or single message.
- Type
django.db.models.BigIntegerField
- created_at¶
Time and date of create message
- Type
django.db.models.DateTimeField
- updated_at¶
Time and date of update message. Updated when view_count changes.
- Type
django.db.models.DateTimeField
- exception DoesNotExist¶
Bases:
django.core.exceptions.ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
django.core.exceptions.MultipleObjectsReturned
- created_at¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_next_by_created_at(*, field=<django.db.models.fields.DateTimeField: created_at>, is_next=True, **kwargs)¶
- get_next_by_updated_at(*, field=<django.db.models.fields.DateTimeField: updated_at>, is_next=True, **kwargs)¶
- get_previous_by_created_at(*, field=<django.db.models.fields.DateTimeField: created_at>, is_next=False, **kwargs)¶
- get_previous_by_updated_at(*, field=<django.db.models.fields.DateTimeField: updated_at>, is_next=False, **kwargs)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- message¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- updated_at¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- view_count¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.