public
Description: Mobile FriendFeed Client
Homepage: http://www.fftogo.com/
Clone URL: git://github.com/bgolub/fftogo.git
newforms is now just forms and use apikey
bgolub (author)
Thu Jul 31 12:29:12 -0700 2008
commit  81a7789bcd17421be839d8f971447c5ee73a3ec1
tree    68281269d0f7e25e4bde38f2b47595fa84af618e
parent  1a1523a893efd47cc159348763df062cfdf12c5c
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-from django import newforms as forms
0
+from django import forms
0
 
0
 class IntegerWidget(forms.TextInput):
0
     def __init__(self, *args, **kwargs):
...
40
41
42
 
43
44
45
...
329
330
331
 
332
333
334
...
40
41
42
43
44
45
46
...
330
331
332
333
334
335
336
0
@@ -40,6 +40,7 @@ import time
0
 import urllib
0
 # Google App Engine does not allow urllib2; we use urlfetch instead
0
 from google.appengine.api import urlfetch
0
+from django.conf import settings
0
 
0
 # We require a JSON parsing library. These seem to be the most popular.
0
 try:
0
@@ -329,6 +330,7 @@ class FriendFeed(object):
0
         # Use Django's urlencode because it is unicode safe
0
         from django.utils.http import urlencode
0
         url_args["format"] = "json"
0
+ url_args["apikey"] = settings.APIKEY
0
         args = urlencode(url_args)
0
         url = "http://friendfeed.com" + uri + "?" + args
0
         headers = {}

Comments

    No one has commented yet.