Commit 3bce429727c0d98da512cbbc74b56dfecb60af8f
1 parent
f9159f05
Exists in
master
and in
39 other branches
Update dpaste settings
Showing
3 changed files
with
5 additions
and
3 deletions
Show diff stats
src/colab/custom_settings.py
| ... | ... | @@ -313,7 +313,7 @@ DPASTE_EXPIRE_CHOICES = ( |
| 313 | 313 | ('never', _(u'Never')), |
| 314 | 314 | ) |
| 315 | 315 | DPASTE_EXPIRE_DEFAULT = DPASTE_EXPIRE_CHOICES[4][0] |
| 316 | -DPASTE_DEFAULT_GIST_DESCRIPTION = 'Gist created on Colab' | |
| 316 | +DPASTE_DEFAULT_GIST_DESCRIPTION = 'Gist created on Colab Interlegis' | |
| 317 | 317 | DPASTE_DEFAULT_GIST_NAME = 'colab_paste' |
| 318 | 318 | |
| 319 | 319 | try: | ... | ... |
src/colab/urls.py
| ... | ... | @@ -26,6 +26,8 @@ urlpatterns = patterns('', |
| 26 | 26 | url(r'^signup/', include('accounts.urls')), # (same here) TODO: move to nginx |
| 27 | 27 | url(r'^account/', include('accounts.urls')), |
| 28 | 28 | |
| 29 | + url(r'', include('django_browserid.urls')), | |
| 30 | + | |
| 29 | 31 | url(r'^planet/', include('feedzilla.urls')), |
| 30 | 32 | |
| 31 | 33 | url(r'paste/', include('dpaste.urls.dpaste')), | ... | ... |
src/templates/dpaste/snippet_details.html
| ... | ... | @@ -74,8 +74,8 @@ |
| 74 | 74 | <span class="glyphicon glyphicon-share"></span> |
| 75 | 75 | </i> {% trans "Gist" %} |
| 76 | 76 | </a> |
| 77 | - <a href="/pastebin" class="btn btn-primary"> | |
| 78 | - New snippet | |
| 77 | + <a href="/paste" class="btn btn-primary"> | |
| 78 | + New snippet | |
| 79 | 79 | <span class="glyphicon glyphicon-arrow-right"></span> |
| 80 | 80 | </a> |
| 81 | 81 | </div> | ... | ... |