Commits

Artur Barseghyan committed 1e5ce02 Draft

better docs

Comments (0)

Files changed (2)

 >>>     ('new', gettext('New')), # New - this is how it's assigned to a writer.
 >>>     ('draft', gettext('Draft')), # Draft - this is how the writer works on it.
 >>>     ('ready', gettext('Ready')), # Ready to be reviewed by editor.
->>>     ('reviewed', gettext('Reviewed')), # Reviewed by editor (means positive and ready to be published).
+>>>     ('reviewed', gettext('Reviewed')), # Reviewed by editor (means positive
+>>>                                        # and ready to be published).
 >>>     ('published', gettext('Published')), # Published.
 >>> )
 >>>
 >>>     body = models.TextField(_("Body"))
 >>>     date_published = models.DateTimeField(_("Date published"), \
 >>>                                           default=datetime.datetime.now())
->>>     author = models.ForeignKey(User, verbose_name=_("Author"), related_name='authors', \
+>>>     author = models.ForeignKey(User, verbose_name=_("Author"), \
+>>>                                related_name='authors', \
 >>>                                limit_choices_to=_writers)
->>>     editor = models.ForeignKey(User, verbose_name=_("Editor"), related_name='editors', \
+>>>     editor = models.ForeignKey(User, verbose_name=_("Editor"), \
+>>>                                related_name='editors', \
 >>>                                limit_choices_to=_editors)
 >>>     chief_editor = models.ForeignKey(User, verbose_name=_("Chief editor"), \
 >>>                                      related_name='chief_editors', \
 >>>     ('new', gettext('New')), # New - this is how it's assigned to a writer.
 >>>     ('draft', gettext('Draft')), # Draft - this is how the writer works on it.
 >>>     ('ready', gettext('Ready')), # Ready to be reviewed by editor.
->>>     ('reviewed', gettext('Reviewed')), # Reviewed by editor (means positive and ready to be published).
+>>>     ('reviewed', gettext('Reviewed')), # Reviewed by editor (means positive
+>>>                                        # and ready to be published).
 >>>     ('published', gettext('Published')), # Published.
 >>> )
 >>>
 >>>     body = models.TextField(_("Body"))
 >>>     date_published = models.DateTimeField(_("Date published"), \
 >>>                                           default=datetime.datetime.now())
->>>     author = models.ForeignKey(User, verbose_name=_("Author"), related_name='authors', \
+>>>     author = models.ForeignKey(User, verbose_name=_("Author"), \
+>>>                                related_name='authors', \
 >>>                                limit_choices_to=_writers)
->>>     editor = models.ForeignKey(User, verbose_name=_("Editor"), related_name='editors', \
+>>>     editor = models.ForeignKey(User, verbose_name=_("Editor"), \
+>>>                                related_name='editors', \
 >>>                                limit_choices_to=_editors)
 >>>     chief_editor = models.ForeignKey(User, verbose_name=_("Chief editor"), \
 >>>                                      related_name='chief_editors', \