google-code-export / django-syncr

Automatically exported from code.google.com/p/django-syncr
0 stars 0 forks source link

New Forms Admin compatibility #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm really just getting started with Django, but I noticed you hadn't yet 
updated django-syncr to 
work with the freshly merged NFA branch 
(http://code.djangoproject.com/wiki/NewformsAdminBranch) 

I've updated the code to work with New Forms Admin, and the attached file is 
the diff I piped out 
from Subversion. Let me know if there is a easier way to submit code changes, 
I'm a bit new to this 
process ;)

Also, if this isn't useful, or if you've already been working on porting the 
code over, don't hesitate 
to throw these changes away. Most of the work was done so that I could have 
this small app 
working for my own project, so if I've made those changes in a way that could 
be improved upon 
just let me know!

Original issue reported on code.google.com by jblo...@gmail.com on 27 Jul 2008 at 4:01

Attachments:

GoogleCodeExporter commented 9 years ago
Wow awesome, I have applied your patch with a few slight adjustments.

Please test, this is in revision 29.

Original comment by jesse.l...@gmail.com on 28 Jul 2008 at 1:20

GoogleCodeExporter commented 9 years ago
Looks like everything is working for me.

Original comment by jblo...@gmail.com on 28 Jul 2008 at 10:56

GoogleCodeExporter commented 9 years ago
I may have spoken too soon, the new stuff to correct timezones doesn't seem to 
be working for me. I'll follow up 
with a bug report in a bit. 

Original comment by jblo...@gmail.com on 28 Jul 2008 at 11:00

GoogleCodeExporter commented 9 years ago
My fault. I checked in some test code. I reverted these files back to working 
version, now in r30. Thanks!

Original comment by jesse.l...@gmail.com on 29 Jul 2008 at 2:26

GoogleCodeExporter commented 9 years ago
No problem. 

I've attached to things, my sync code (what I run to use syncr to get data into 
my Django database) as well as 
plain text of the error / output I got when I ran my sync code. 

The error is also copied below: 
  File "iSync.py", line 7, in <module>
    c.syncTwitterUserTweets('stickwithjosh')
  File "/working/jb_com/syncr/app/tweet.py", line 109, in syncTwitterUserTweets
    statuses = self.api.GetUserTimeline(user)
  File "build/bdist.macosx-10.5-i386/egg/twitter.py", line 994, in GetUserTimeline
  File "build/bdist.macosx-10.5-i386/egg/twitter.py", line 282, in NewFromJsonDict
AttributeError: 'unicode' object has no attribute 'get'

Original comment by jblo...@gmail.com on 29 Jul 2008 at 4:17

Attachments:

GoogleCodeExporter commented 9 years ago
Closing this as NFA was merged in

Original comment by jesse.l...@gmail.com on 21 Sep 2008 at 12:35