Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

Models: Submission

kgdunn edited this page May 14, 2011 · 17 revisions

NOT UP TO DATE

Syntax: field: description. Help text shown on website

  • title: user-provided submission title. Provide a title for your submission.
  • slug: auto-created slug field [unique field]
  • submission_type: see Submission types for more details. Your submission should be one of these types
  • authors: a ManyToMany field of authors, with each author defined in Models: Person
  • license: a choice field. See Licensing for more details
  • summary: a short summary [150 chars] describing the submission. Explain what the submission does. Users initially see this summary to decide if they want to view more information about your submission.
  • description: a user-provided description of the submission [10000 character limit]. Please explain your submission in more depth. Let the community know what your LINK/CODE does, how it solves the problem, and/or how it works.
  • description_html: HTML version of the description which uses reStructuredText
  • screenshot: user uploaded image. Provide, if possible, a screenshot of what your code might produce as output. E.g a histogram, image, etc
  • n_downloads: for code snippets and packages
  • n_views: number of full-page views of this submission
  • n_revisions: number of revisions to submission
  • cloned_from: a ForeignKey to a Submission instance, by default this is None
  • inspired_by: a comma-separated list of previous submissions
  • tags: a ManyToMany field of tags, defined by Models: Tag
  • item_url: a URI for link-type submissions
  • hash: the git hash for the code files, or snippet. For URLS: the md5 hash

ForeignKeys pointing back to this model

Clone this wiki locally