Re: How to create a database for my website in Django

2016-09-01 Thread djangorobert
a quick fix would be to just get an account with pythonanywhere.com its a cloud computing or a saas for python users lets you create your app and gives you a mysql database automatically On Tuesday, August 30, 2016 at 6:18:08 PM UTC-5, Jeff Goes wrote: > > I have little knowledge when it comes

Re: How to create a database for my website in Django

2016-08-31 Thread ludovic coues
Hi jeff, I would suggest you looking up the documentation on creating a database [1] and the following section on how to connect to your freshly created database from django. When you get to creating your table, you might want to simply use django's tools. One of the key feature for developer on

Re: How to create a database for my website in Django

2016-08-30 Thread M Hashmi
Hi, First of all as far as creation of database is concerned there is comprehensive documentation at djagnoproject.com in tutorial section. Once you've created database then you can use "forms" to get data from the front end to save it in db. Before you go through all this exercise I would suggest

How to create a database for my website in Django

2016-08-30 Thread Jeff Goes
I have little knowledge when it comes to the creation of databases. I would like to know if someone can help me set a database for my website step by step since I have a deadline due to next month to finish a project that requires that kind of knowledge. The idea is to input information on the

Re: create a database

2011-05-18 Thread refreegrata
ok, thanks i forget that the settings.py is just a python script. On 18 mayo, 11:02, Shawn Milochik wrote: > Sure, you can do this. > > Just write a Python script that imports settings (it should be on your > PYTHONPATH) and read the database config info, and do your thing. The > Django settings

Re: create a database

2011-05-18 Thread Shawn Milochik
Sure, you can do this. Just write a Python script that imports settings (it should be on your PYTHONPATH) and read the database config info, and do your thing. The Django settings file is just a Python script, and all the settings in it are just Python objects (dictionaries, tuples, etc.) -

create a database

2011-05-18 Thread refreegrata
hello list. I have a question. With "python manage.py syncdb" the tables are created in a database. Is possible use the configuration declarated in the settings.py to create the database if this not exists and make a script with lines like : #---SCRIPT-- if not exists datab

[SQL] create a database on the fly

2009-07-16 Thread sebastien requiem
Hi guys, my problem may be python only related but I dare posting here anyway. I try to create databases on the fly according to some user input. After searching on the net, I realized that I can't use the following statement as %s will be replaced by '%s'. And "CREATE DATABASE" statement forbid

Re: [SQL] create a database on the fly

2009-07-16 Thread sebastien requiem
On Thu, Jul 16, 2009 at 4:04 PM, sebastien requiem wrote: > Hi guys, > > > my problem may be python only related but I dare posting here anyway. > > I try to create databases on the fly according to some user input. > After searching on the net, I realized that I can't use the following > statemen

Re: About create a database table dynamicly

2007-07-16 Thread Ned Batchelder
Nick, if all of your dynamically-created tables in fact have the same schema (set of columns), then you definitely should make one table for all your users to share. Be sure to index the columns that will be used in your WHERE clauses, and your table will perform fine. --Ned. Malcolm Tredinni

Re: About create a database table dynamicly

2007-07-16 Thread Malcolm Tredinnick
On Sun, 2007-07-15 at 23:37 +0800, nick feng wrote: > Hi Ned, > > Thanks for your reply. > First, your question is my doubt. > And my problem is, if I did the same thing as you said, I will create > a table contains a great deal of data in it, this may cause the > "select" operation very slow, t

Re: About create a database table dynamicly

2007-07-16 Thread nick feng
shes, Nick - Original Message - From: Ned Batchelder To: django-users@googlegroups.com Sent: Sunday, July 15, 2007 4:33 AM Subject: Re: About create a database table dynamicly Generally, creating a table dynamically is the wrong thing to do. How will these tables differ

Re: About create a database table dynamicly

2007-07-14 Thread Ned Batchelder
Generally, creating a table dynamically is the wrong thing to do. How will these tables differ from each other? For example, what user information is used to create the table? If each of the tables has the same structure, then you should create one table with an extra column to distinguish t

Re: About create a database table dynamicly

2007-07-14 Thread nick feng
Hi Carl, Thank you, I have resended the mail again, thanks . best wishes, nick - Original Message - From: "Carl Karsten" <[EMAIL PROTECTED]> To: Sent: Sunday, July 15, 2007 12:33 AM Subject: Re: About create a database table dynamicly > > > nick feng wrote

Re: About create a database table dynamicly

2007-07-14 Thread Carl Karsten
nick feng wrote: > Hi, > > I had to create a table in the database according to the users' input > imformation. > Django seems has no topic about this, anyone has any idea on it?Thank you im guessing you hit reply and changed the subenct, which buried your question in someone else's. aka hi

About create a database table dynamicly

2007-07-14 Thread nick feng
Hi, I had to create a table in the database according to the users' input imformation. Django seems has no topic about this, anyone has any idea on it?Thank you Best wishes, Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

About create a database table dynamicly

2007-07-14 Thread nick feng
Hi, I had to create a table in the database according to the users' input imformation. Django seems has no topic about this, anyone has any idea on it?Thank you Best wishes, Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the