Re,

But you'll not be able to access the sqlite DB through Django models, since it 
will not have the proper schema.


Eric
________________________________
From: PASCUAL Eric
Sent: Tuesday, May 22, 2018 3:59:35 PM
To: Django users
Subject: Re: Open Sqlite database file directly in django


Hi Jaiswal,


You can use the Python sqlite3 standard lib for opening this database and 
manipulate it, and then display data using views written with Django.


Eric

________________________________
From: django-users@googlegroups.com <django-users@googlegroups.com> on behalf 
of Sourabh Jaiswal <sourabhjaiswa...@gmail.com>
Sent: Tuesday, May 22, 2018 8:02:03 AM
To: Django users
Subject: Open Sqlite database file directly in django

Hi,

Is there any way to open sqlite db directly in django.

I am working on an application for which a back end script creates a database 
for every execution.
The database consists of multiple tables and I have to show those tables on the 
web site made in django.

Is there any other way around for this?

Any help will be greatly appreciated.

Thanks,
Jaiswal.

--
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+unsubscr...@googlegroups.com<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto: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/d24eda2f-8051-42eb-9081-b986dfd234c3%40googlegroups.com<https://groups.google.com/d/msgid/django-users/d24eda2f-8051-42eb-9081-b986dfd234c3%40googlegroups.com?utm_medium=email&utm_source=footer>.
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+unsubscr...@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/DB7P193MB0331365FA7C61731D9F3F0D68C940%40DB7P193MB0331.EURP193.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to