Skip to content

Commit

Permalink
Fix merge conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanneculai committed Sep 12, 2018
2 parents 93ccafa + 065a5b2 commit 90737e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ OR

Add the directory `froala_editor` from this repo to your Python path.

1. Add `froala_editor` to INSTALLED_APPS in `settings.py`.
2. Add `froala_editor` to INSTALLED_APPS in `settings.py`.

2. Add the following line to `urlpatterns` in your application's `urls.py`.
3. Add the following line to `urlpatterns` in your application's `urls.py`.

```python
url(r'^froala_editor/', include('froala_editor.urls')),
Expand Down
2 changes: 1 addition & 1 deletion froala_editor/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_options(self):
json_options = json_options.replace('"csrftokenplaceholder"', 'getCookie("csrftoken")')
return json_options

def render(self, name, value, attrs=None):
def render(self, name, value, attrs=None, renderer=None):
html = super(FroalaEditor, self).render(name, value, attrs)
el_id = self.build_attrs(attrs).get('id')
html += self.trigger_froala(el_id, self.get_options())
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

setup(
name='django-froala-editor',
<<<<<<< HEAD
version='2.8.5',
=======
version='2.8.4-2',
>>>>>>> 065a5b2f9f7e3e824725c9903ce58ca47ded1007
author='Dipesh Acharya',
author_email='[email protected]',
maintainer='Froala Labs',
Expand Down

0 comments on commit 90737e8

Please sign in to comment.