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 4046098
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:31:08+00:00 2026-05-20T13:31:08+00:00

I have a Django app that is basically a web front end on a

  • 0

I have a Django app that is basically a web front end on a database.

Every now and then, users upload files containing perhaps 1000s of records. These records will need to be parsed out of the file, processed, and used to create new records or update existing records in the database. I’m just wondering what is the better approach for processing the uploaded file:

  • in the view (while the user waits – I guess this could be a up to 5 minues) ?
  • save the uploaded file and have some background cron job call a custom admin command to process it? This seems the most sensible to me.
  • or perhaps another method I haven’t thought of?
  • 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-20T13:31:09+00:00Added an answer on May 20, 2026 at 1:31 pm

    Celery seems to be pretty hot these days too, you should definitely look into this:

    https://github.com/ask/django-celery

    http://celeryproject.org/

    enter image description here

    Send an email when done, or have the front end poll for results every X seconds after submission. "Are we there yet?" "Are we there yet?"


    I’d like to know too a simple, safe way to start a thread that writes to the db.

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

Sidebar

Related Questions

I have written a Django app that makes use of Python threading to create
I'm using Google App Engine and Django templates. I have a table that I
For my Django app I have Events, Ratings, and Users. Ratings are related to
I have a new web app that is packaged as a WAR as part
I have configured my Django app to run under Apache+FastCGI on Linux (Ubuntu, if
I have a pretty standard django app, and am wondering how to set the
Is it dangerous to have your admin interface in a Django app accessible by
Say I have a blogging app in Django. How can i re-order the posts
I'm writing a simple real-estate listing app in Django. Each property needs to have
As the title suggests, I'm using Google App Engine and Django. I have quite

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.