Monday, August 28, 2017

Re: Connection with SQL server and user registration form

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 <yingikeme@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 <devarapalli.gopi8@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.
To post to this group, send email to django-users@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.

--
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-users@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/D0A687A0-4027-4F46-90EF-F01626A0B240%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
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-users@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/CAAcansv7678OG%3DHtSYxwQkf%2BNf6%2BLJd7c%3DLyZ_AkeGZ%3DDiwUjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment