Hi Rich,
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 Thomas
310-947-8572
On Thu, Jun 29, 2017 at 11:16 AM, Rich Shepard
wrote:
>
Could you create a City model and a County model and relate them one County
to many Cities? I'm not sure how to populate those tables.
As an aside, where do you get your City to County data. I've been meaning
to look for that data. Do all cities cleanly break into one county?
John
Hi Django-Users:
I am starting a project. I just saw the tip below. I was wondering if you
would share other tips you have.
1. I _always_ start every project with a custom User model, to avoid
this problem ["this problem" = "difficult to transfer to a custom user
3 matches
Mail list logo