简体   繁体   中英

Is it possible to make a mobile app in Django?

I was wondering if it is possible for me to use Django code I have for my website and somehow use that in a mobile app, in a framework such as, for example, Flutter.

So is it possible to use the Django backend I have right now and use it in a mobile app?

So like the models , views etc...

Yes. There are a couple ways you could do it

  1. Use the Django Rest Framework to serve as the backend for something like React Native.

  2. Build a traditional website for mobile and then run it through a tool like PhoneGap.

  3. Use the standard Android app tools and use Django to serve and process data through API requests.

Update for 2022: This article from AppPresser provides alternatives to PhoneGap which was mentioned in the other answer. These alternatives can be used to package web native sites as mobile apps.

The alternatives listed are:

  • Bitrise
  • Ionic

The honorable mentions were:

  • Appcircle
  • Appcenter
  • CodeMagic
  • Codeship

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM