Sunday, September 27, 2015

Looking for advise/examples on working with multiple models & export to JSON

Hi,

Am getting back into Django after a few years away working with a mess of other platforms and looking for some advise on how to accomplish what should be a pretty straight-forward task.

I'm working on a django app that will be the curation point for a large number of data feeds.  These feeds are connected to other models in the DB including categories the feeds are in, packages that define the external view of a feed to a possible consuming app, bundles which group together collections of these feeds, licenses that describe the terms of use for each feed, bundle etc. 

My goal is to be able to export these various data/models as a single JSON file that will be up on something like S3 for various apps to ingest -- this data will be (pretty obviously) the basis of an in-app online store/catalog used by mobile apps for iOS and Android.


There are two areas I could use some pointers in:
  1. Pointers to a good example of working with, and exporting data, from these multiple models using Django
  2. How to add a top-level cross-model admin panel -- Django's admin panel seems very focused on single-model CRUD operations -- for these kids of cross-app operations. I'd like to be able to have a panel to invoke scripts/process like the one described above;  I've looked at a few packages like django-admin-tools but these don't address this issue directly.

Any advise/pointers would be greatly appreciated

cheers,
  David 

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e4688a2f-450d-44c5-bdcf-244bc2d02934%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment