What steps will reproduce the problem?
1. create an instance of DeliciousSyncr from apps/
2. run instance.syncAll()
3. call new bookmark object's "local_saved_date()"
What is the expected output? What do you see instead?
expected output:
datetime.datetime object
Generated result:
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/Library/Python/2.5/site-packages/syncr/delicious/models.py", line 33, in
local_saved_date
zone = pytz.timezone(settings.TIME_ZONE)
NameError: global name 'settings' is not defined
What version of the product are you using? On what operating system?
version = trunk
OS = Mac OSX 10.5
Please provide any additional information below.
Adding the following import at the top should correct the issue:
- from django.conf import settings
Original issue reported on code.google.com by ner...@gmail.com on 6 Apr 2009 at 1:11
Original issue reported on code.google.com by
ner...@gmail.com
on 6 Apr 2009 at 1:11