from weathertracking.models import WeatherStation, WeatherReport

if __name__ == '__main__': # called as a script
    station_list = WeatherStation.objects.auto_poll() # retrieve all stations marked to poll automatically
    for station in station_list:
        var = station.update()

Add script usable for cron/queue-ing retrievable of automatically polled stations
Add script usable for cron/queue-ing retrievable of automatically polled stations

git-svn-id: 138413ff556ff9267caefd2d209ba774763e85fb@8 696a86c2-f982-11dd-8259-6defae454439
