Skip to content

adjust models so they are fit for a web app  #150

@fgregg

Description

@fgregg

The minimum that this would require is adding a nullable slug field to

  • Event
  • Bill
  • Person
  • Organization

I am not advocating that pupa set these slugs, just that they exist on the models and could be filled in later.

Very useful:

  • turn the image attribute on person from a UrlField to a FileField (headshots)
  • turn all the various dates and datetimes from strings to native dates and datetimes.

To effectuate these changes, pupa would have to be adjusted.

This should drastically reduce the need for the councilmatic_core one-to-one models and would make queries much simpler throughout the web apps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreRelating to the core applegislativeRelating to the legislative app

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions