Hello, Django Rest Framework <http://www.django-rest-framework.org/> to the rescue. You can use this package to expose your database via a HTTP REST api and consume it via swift/java or any other language/platform you might think.
This actually is the way web works nowadays, even for web apps. > On 17 Jul 2017, at 22:52, Jani Tiainen <rede...@gmail.com> wrote: > > Hi, > > There are numerous ways to do that. You could create mobile version of your > site or do called responsive design. That way site would be accessible with > virtually any device. > > If you want to create native app you can write for example rest api to > provide data for your app. > > 17.7.2017 21.54 "Megan Zhao" <zhaozhaoxia.ch...@gmail.com > <mailto:zhaozhaoxia.ch...@gmail.com>> kirjoitti: > My friend and I followed the Django tutorial to create a web blog where the > professors can post their office hours and students can access to search and > browse. We want to create a mobile app that contains the same info so that > when the professors post on the web, the info in the app also updates as > well. I think I can use Django to create a mobile app? So I am wondering if > there is any way I can create an IOS app through Swift and then access the > database that is stored in the Django so that when there is new data in the > database the mobile app also updates as well. Thanks! > > -- > 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 > <https://groups.google.com/group/django-users>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/318f52e1-c804-47fd-8a10-4c49de6cc0e0%40googlegroups.com > > <https://groups.google.com/d/msgid/django-users/318f52e1-c804-47fd-8a10-4c49de6cc0e0%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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 > <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 > <https://groups.google.com/group/django-users>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAHn91odUopNTxB5WSdsNttqMAxOLi7KwARDoHk5Xv8j%2Bc-yvUw%40mail.gmail.com > > <https://groups.google.com/d/msgid/django-users/CAHn91odUopNTxB5WSdsNttqMAxOLi7KwARDoHk5Xv8j%2Bc-yvUw%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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/1FE3BF0B-F606-4EAE-88E0-729DA0FA6E1B%40gmail.com. For more options, visit https://groups.google.com/d/optout.