or maybe used this app, in the admin
https://github.com/bmihelac/django-import-export
Cheers
On Tue, Feb 24, 2015 at 7:57 PM, Kelvin Wong wrote:
> Looking at your code, maybe this one is better
>
> https://pypi.python.org/pypi/unicodecsv/0.9.4
>
> This thing will make a dict, which you can mak
Looking at your code, maybe this one is better
https://pypi.python.org/pypi/unicodecsv/0.9.4
This thing will make a dict, which you can make into a object by feeding it
to a modelform.
K
On Tuesday, February 24, 2015 at 3:53:19 PM UTC-8, elcaiaimar wrote:
>
> Hello,
>
> I have a website and I
Parsing a CSV file is not a particularly hard thing to do
https://docs.python.org/2/library/csv.html
You can change the example to read from the file in your model an instead
of printing to the console, to store it in the database.
On Tue, Feb 24, 2015 at 8:53 PM, elcaiaimar wrote:
> Hello,
>
Hello,
I have a website and I need that users can introduce a csv file and save
their data in a postgresql database. I can introduce a file and save it in
media_dir and in the database (only the url). But what I want is save each
row as a register in a table. I've searched some examples but I h
4 matches
Mail list logo