On Thu, 29 Jun 2017, John Thomas wrote:
> 419 is not that many. I'd probably do that via a Python shell. import
> models.Cities for item in lists_of_lists_of_419 temp =
> Cities(city+name=item[0], county_name=item[1]) temp.save()
John,
I should have mentioned that the table does not currently exist in the
database. If the above is the preferred solution with an existing table,
then to add the table and date I can use the psql shell to read the file.
Thanks very much for clarifying,
Rich
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment