Giter Club home page Giter Club logo

procurement-portal-backend's People

Contributors

jbothma avatar paulmwatson avatar rikusv avatar tomaszkolek avatar

Watchers

 avatar  avatar  avatar

procurement-portal-backend's Issues

Column needed: Reporting period

Provincial Government/Free State/Economic and small business development, tourism and environmental affairs/FREE STATE ECONOMIC and SMALL BUSINESS DEVELOPMENT, TOURISM and ENVIRONMENTAL AFFAIRS.csv

example data:

REPORTING PERIOD
--
14/04/2020
14/04/2020
26/03/2020
26/03/2020
26/03/2020
26/03/2020
26/03/2020
14/04/2020
May-20
May-20
May-20
May-20
May-20
May-20
May-20
May-20
May-20

Make dataset_version.file downloadable

It would be nice if someone could download the original uploaded file to get closer to the original source data shown in the site - in case something weird happened on import, and currently only the known columns are imported, while there may be some additional columns that don't get imported.

Screenshot_2020-10-18_11-52-48

make all dataset upload errors visible to admins

  • it should be convenient to upload a dataset file with the right metadata
  • you should not easily forget to do that
  • uploaded dataset files should be imported, creating PurchaseRecord objects
  • if uploading fails, it should be clear
    • that it failed - that the dataset is not up to date
    • why it failed so we can resolve the issue

As a data admin, I would like to know whether uploads were successful so that I can tell whether it is complete or whether I need to change something and try again.

Options for satisfying that

  • error feedback on creating a new dataset or updating a dataset file
    • requires access to the request variable
    • only works until an import takes longer than is acceptable for a browser form submit
  • queue with error feedback and clear overview of datasets, upload success, and current versions
  • do the import sync in a signal for now and just save the error message on the DatasetVersion object as we might if it was done async.

e.g.

Admin error feedback: tablib.exceptions.InvalidDimensions

e.g.

django.core.exceptions.ValidationError: ['Missing field(s): buyer_name, supplier_name, order_amount_zar']

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.