[ckan-dev] uppercase file format
Ian Ward
ian at excess.org
Thu Aug 8 21:10:30 UTC 2013
Hi Isabel,
That little bit of magic is buried in model_dictize.py:
https://github.com/okfn/ckan/blob/master/ckan/lib/dictization/model_dictize.py#L105
Unfortunately it's not in a place that it can be overridden without
changing the CKAN source, such as a validator in the schema.
On Wed, Aug 7, 2013 at 7:17 AM, Isabel Ruiz <isaruizmellado at gmail.com> wrote:
> Hi!
>
> I have installed CKAN 2.0.1
>
> I have added resources, that contains differents files formats (csv, pdf,
> zip) .
>
> I made this mistake:
>
> First: I added pdf files, I have written 'PDF' in file type.
> Second: I added csv files, I have written 'csv' in file type.
>
>
> I see CKAN files formats filters PDF (uppercase) and csv (lowercase) files.
>
> I need change format file csv (lowercase) to CSV (uppercase).
> I try:
> - edit resource and change csv to CSV type file, but it changes
> automatically to lowercase again.
>
> How can I change this?
>
>
> Thanks!
>
>
>
>
>
>
> --
> Isabel M. Ruiz Mellado
> http://about.me/isabelruiz
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
More information about the ckan-dev
mailing list