Skip to content

Commit

Permalink
Merge 1979a5b into 096e148
Browse files Browse the repository at this point in the history
  • Loading branch information
ElishaMisoi committed May 20, 2019
2 parents 096e148 + 1979a5b commit 1e606d3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
6 changes: 3 additions & 3 deletions authors/apps/articles/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ def add_social_share(request):
Function for adding share url to an article
"""
request['twitter'] = 'https://twitter.com/share?url=' + \
request['url']+'&text=Checkout this article on ' + \
request['url']+"&text=Checkout this article at Author's Haven on " + \
request['title']
request['facebook'] = 'http://www.facebook.com/sharer.php?u=' + \
request['url']+'&quote=Checkout this article on ' + \
request['url']+"&quote=Checkout this article at Author's Haven on " + \
request['title']
request['mail'] = 'mailto:?subject=Checkout this article on {} read&body={}'.format(
request['mail'] = "mailto: ?subject =Checkout this article at Author's Haven on {} read&body={}".format(
request['title'], request['url'])

return request
Expand Down
17 changes: 17 additions & 0 deletions authors/apps/notifications/migrations/0006_auto_20190520_0901.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 2.2 on 2019-05-20 09:01

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('notifications', '0005_auto_20190509_0353'),
]

operations = [
migrations.AlterModelOptions(
name='notifications',
options={'ordering': ['-createdAt']},
),
]

0 comments on commit 1e606d3

Please sign in to comment.