title: How to add script to Django app?
body: <p>I'm just beginning to learn Django/Python. I created a project called reddit_project with an app called scraper. I'm trying to use my model Link that is in my models.py so that I can create records based on the JSON I am scraping in web_crawler.py. However, Django keeps telling me that the the module scraper doesnt exist when I try to run web_crawler.py in my terminal. How do I properly import the Link class so that it can be used within web_crawler.py?</p>
  
  <p>scraper/models.py:</p>
  
  <pre><code>from django.db import models
  
  # Create your models here.
  class Link(models.Model):
    title = models.CharField(max_length=50)
    author = models.CharField(max_length=50)
    url = models.CharField(max_length=200)
    subreddit = models.CharField(max_length=200)
    upvotes = models.IntegerField()
    downvotes = models.IntegerField()
    posted_date = models.DateTimeField()
  </code></pre>
  
  <p>web_crawler.py</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  from scraper.models import Link
  
  website_url = 'http://reddit.com/.json'
  response = requests.get(website_url)
  reddit_json = response.json()
  print(reddit_json)
  </code></pre>
  
  <p>Tree:</p>
  
  <pre><code>.
  |______init__.py
  |______pycache__
  | |______init__.cpython-34.pyc
  | |____admin.cpython-34.pyc
  | |____models.cpython-34.pyc
  |____admin.py
  |____models.py
  |____models.pyc
  |____tests.py
  |____views.py
  |____web_crawler.py
  </code></pre>