This repository has been archived by the owner on Jul 15, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added better support for oauth 1.0a + update readme to use 1.0a as
example
- Loading branch information
1 parent
260d108
commit 537439c
Showing
7 changed files
with
42 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,11 +1,5 @@ | |||
# Create your models here. | |||
|
|||
# models.py | # models.py | ||
|
|
||
from django.db import models | from django.db import models | ||
|
|
||
from google.appengine.ext import db | from google.appengine.ext import db | ||
|
|||
#class Visitor(db.Model): | |||
# ip = db.StringProperty() | |||
# added_on = db.DateTimeProperty(auto_now_add=True) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,24 +1,9 @@ | |||
# Create your views here. | |||
|
|||
# views.py | # views.py | ||
|
|
||
from django.http import HttpResponse | from django.http import HttpResponse | ||
|
|
||
# from mashname.main.models import Visitor | |||
|
|||
def main(request): | def main(request): | ||
|
|
||
#visitor = Visitor() | result = "demo .........................................................." | ||
#visitor.ip = request.META["REMOTE_ADDR"] | |||
#visitor.put() | |||
|
|||
#result = "" | |||
#visitors = Visitor.all() | |||
#visitors.order("-added_on") | |||
|
|||
#for visitor in visitors.fetch(limit=40): | |||
# result += visitor.ip + u" visited on " + unicode(visitor.added_on) + u"" | |||
|
|||
result = "demo .........................................................." | |||
|
|
||
return HttpResponse(result) | return HttpResponse(result) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters