Connection with SQL server and user registration form

12 vues
Accéder directement au premier message non lu

Gopi Devarapalli

non lue,
28 août 2017, 12:21:5628/08/2017
à Django users
Hi everyone,

I am new to django. I just want to connect with sql server. And when user submit the form i need to save the details on the sql server database table.  And I am confusing that there are models that are using SQLite, is it mandatory to use Model?

yingi keme

non lue,
28 août 2017, 12:29:0728/08/2017
à django...@googlegroups.com
Okk so django has its own server set up already configured

All you need to so is type in the command

 python manage.py runserver

Yes. Django uses the MVC approach. So you have to use Models if you want to connect with your database.



Yingi Kem

On 28 Aug 2017, at 3:25 PM, Gopi Devarapalli <devarapa...@gmail.com> wrote:

Hi everyone,

I am new to django. I just want to connect with sql server. And when user submit the form i need to save the details on the sql server database table.  And I am confusing that there are models that are using SQLite, is it mandatory to use Model?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cac3e9a5-9cbf-4cde-8875-c32e20c2d637%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vineet Kothari

non lue,
28 août 2017, 12:32:0028/08/2017
à django...@googlegroups.com
Models with provide you with fields in django it is madatory to use model thats why it is models. you ll have to change the configration in settings.py to allow mysql as backend database


On Mon, Aug 28, 2017 at 9:57 PM, yingi keme <ying...@gmail.com> wrote:
Okk so django has its own server set up already configured

All you need to so is type in the command

 python manage.py runserver

Yes. Django uses the MVC approach. So you have to use Models if you want to connect with your database.



Yingi Kem

On 28 Aug 2017, at 3:25 PM, Gopi Devarapalli <devarapa...@gmail.com> wrote:

Hi everyone,

I am new to django. I just want to connect with sql server. And when user submit the form i need to save the details on the sql server database table.  And I am confusing that there are models that are using SQLite, is it mandatory to use Model?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message