Hi Andreas,
I'm going to look into the rest framework today - thanks for the tip, much 
appreciated!
Damon

On Monday, March 26, 2018 at 5:50:49 PM UTC-4, Damon Branch wrote:
>
> Hi,
> I'm developing a website which contains a database. I then need to be able 
> to update that database from a separate python application like a desktop 
> or mobile app.
> I am new to Django and fairly new to Python (few months).
> After reading the introductory materials I'm thinking the way to do this 
> is:
>
> 1. Write the website application which can update database entries with a 
> call like ' myModel.Create(info1='blah', info2='blah') '
> 2. Package this application/website into something like 'django-myWebsite'
> 3. In my other program/app import my package like 'from django-myWebsite 
> import *'
> 4. Make calls to the website via my package like ' 
> myModel.Create(info1='blah', info2='blah') '
>
> Is this the right approach/will it work or is there a better way to do it? 
> Also, are there any examples of accessing a django built website through 
> another program?
>
> Thanks - Damon
>

-- 
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/b68719d5-1e3e-468f-b92b-296813cd985f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to