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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T02:42:02+00:00 2026-05-21T02:42:02+00:00

I want to add scrapped data to my database. I like the fact that

  • 0

I want to add scrapped data to my database. I like the fact that the API enables validation but I assume that the overhead is too high. I’m writing maybe 10k rows at a time, at most. Is that accurate?

Alright, so one other issue I was having, which was preventing me from testing this hypothesis is that I’m currently unable to import my models module. I get an error message claiming that my DJANGO_SETTINGS_MODULE is undefined.

my django.wsgi script does define it and it works within the context of django. I assume that when I try to execute a python file from the command line, the .wsgi script is not run. Again, assumptions, I know.

Do I have to add my django project to my PYTHONPATH within the bashrc file to make this work?

  • 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-21T02:42:03+00:00Added an answer on May 21, 2026 at 2:42 am

    You’ll need to set your project’s settings file in ~/.bashrc if you want to use it in a script.

    export PYTHONPATH=$PYTHONPATH:/path/to/django/project
    export DJANGO_SETTINGS_MODULE=settings
    

    or

    export DJANGO_SETTINGS_MODULE=/path/to/django/project/settings
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want add alias to my .irbrc similary like alias q exit (work). But
I want add multiple images in my own project like 7 images but in
I want add UIGestureRecognizerDelegate to UIWebView,but failed. if [self.view addsubView:webView]; So UIWebView is ok,but
I have a list of string values that I want add to a hashtable
I want to add Gon ( https://github.com/gazay/gon ) to my activeadmin but I need
hi when i write css or html i found that i want add two
I just want to add a tableview to the key window,but i can't see
I have a report that I want add a line beneath the even rows
I am working in jQuery script.But a little bit problem i want add the
I want add a separator in Blackberry Listfield inside drawListRow with graphics.drawLine Method but

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.