Changeset b786c83
- Timestamp:
- 04/06/12 10:19:56 (14 months ago)
- Branches:
- social
- Children:
- c501d80
- Parents:
- d790a9e (diff), 57833eb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- yomguy <yomguy@…> (04/06/12 10:19:56)
- git-committer:
- yomguy <yomguy@…> (04/06/12 10:19:56)
- Files:
-
- 3 edited
-
telemeta/views/base.py (modified) (1 diff)
-
example/sandbox_sqlite/settings.py (modified) (3 diffs)
-
telemeta/templates/telemeta/base.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
telemeta/views/base.py
r2c4c2e5b r57833eb 388 388 389 389 if type is None: 390 if items.count(): 390 if collections.count(): 391 type = 'collections' 392 else: 391 393 type = 'items' 392 else:393 type = 'collections'394 394 395 395 if type == 'items': -
example/sandbox_sqlite/settings.py
r47b7698 r74a669d 104 104 'django.contrib.messages.middleware.MessageMiddleware', 105 105 'django.middleware.locale.LocaleMiddleware', 106 'pagination.middleware.PaginationMiddleware', 107 'django.contrib.auth.backends.ModelBackend', 108 'socialregistration.contrib.facebook.auth.FacebookAuth', 106 109 ) 107 110 … … 127 130 'jsonrpc', 128 131 'south', 132 'postman', 133 'pagination', 134 'socialregistration', 135 'socialregistration.contrib.facebook', 129 136 'sorl.thumbnail', 130 137 ) … … 152 159 EMAIL_HOST = 'localhost' 153 160 DEFAULT_FROM_EMAIL = 'webmaster@parisson.com' 161 162 POSTMAN_AUTO_MODERATE_AS=True 163 164 FACEBOOK_APP_ID = '348560078520326' 165 FACEBOOK_SECRET_KEY = 'f6204a5468be878bfce8f0007455c022' 166 FACEBOOK_REQUEST_PERMISSIONS = '' -
telemeta/templates/telemeta/base.html
r2c4c2e5b rb166a2e 64 64 <img src="{% url telemeta-images "logout.png" %}" alt="logout" style="vertical-align:middle" /></a> 65 65 {% else %} 66 <div style="float: left;"> 66 67 <a href="{% url telemeta-flatpage "help" %}">{% trans "Help" %}</a> | 67 <a href="{% url telemeta-login %}">{% trans "Sign in" %}</a> 68 <a href="{% url telemeta-login %}?next={{ request.path|urlencode }}">{% trans "Sign in" %}</a> 69 </div> 70 <div style="float: right;;"> 71 {% load facebook %} 72 {% facebook_button %} 73 </div> 68 74 {% endif %} 69 75 </div>
Note: See TracChangeset
for help on using the changeset viewer.
