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

  • Home
  • SEARCH
  • 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'm building a site where registered users can upload files. Those files are then
I have a django app that stores email threads. When I parse the original
I have a Django application that logs users in and out using the standard
I've been working on a web app using Django, and I'm curious if there
I'm building a django app that has an image gallery, and the client insists
I have a django app with models as follows: A Question model An Answer
I'm looking for a good django app that brings to me basic features like
I'm creating an app that allows users to query, manipulate, and explore a very
I have been lurking and learning in here for a while. Now i have
I have been trying to get xapian working django haystack for a project im

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.