Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7025119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:55:56+00:00 2026-05-27T23:55:56+00:00

We work on a Django app for researchers that manages research data. Upstream of

  • 0

We work on a Django app for researchers that manages research data. Upstream of the app itself there are bas scripts that move data around until the app can reach it. (Different deployments of the app use different kinds of upstream scripts).

Now, those scripts produce status information like "Instrument X is down" which users would want to know about. In fact, we’d like to have a status box on the front page showing several of these statuses (so on a good day, you see a row of green lights).

I’m just not sure what the "right" approach would be:

  1. Scripts write an HTML file which the Django app includes with an iframe
  2. Scripts write to some other file, which the Django app parses and renders
  3. Scripts call some web address (eg, example.com/app/status?source=instrumentx&status=down)

Possible downsides, respectively:

  1. HTML logic gets spread into scripts. Also writing HTML might be hard from a script.
  2. Having to define and maintain this interface
  3. As for 2, also potential security issues.

Basically the key issue here is that although the app itself is fairly well defined, it is used in a few different disciplines, and therefore the potential range of "status" information is quite broad and not really explored yet. Hence, well-defined interfaces will likely be inadequate.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:55:57+00:00Added an answer on May 27, 2026 at 11:55 pm

    I might not be totally right here but I would maybe look at 3 as a probable solution. If the app handles a lot of the data via models declared in Django, django-piston may be a good fit. It handles authentication fairly well out of the box so it might resolve some of your security concerns.

    If you are looking at solution 2, and maybe have the scripts write to a well-structured table format of some sorts, there’s Tablib.

    I would probably implement some sort of messaging framework like RabbitMQ, and have the app function as a ‘receiver’ where the scripts will be sending their update as messages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having trouble getting django-social-auth to work with a Django app that I'm deploying
I'm trying to get Spatialite to work with my django app, however, I've hit
I'm trying to get my local dev django app to work after following these
How would one extend the Paginator class in django.core.paginator to work with Google App
within my django app I am storing strings of html in the db that
So I have a Django app that processes test results, and I'm trying to
I'm writing a Django app that uses celery. So far I've been running on
I have been developing some Django app and there's some duplicated code for different
I have a simple django app that is using only the admin. This is
I've been trying to get a new Django app to work, where I call

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.