some1ataplace

Results 96 comments of some1ataplace

@user-1024 In your requirements.txt make sure you include this: git+https://github.com/jazzband/django-cookie-consent Then run pip3 install -r requirements.txt Or separately without a requirements.txt file run this: pip3 install git+https://github.com/jazzband/django-cookie-consent If you don't...

A temporary workaround using the invoice object rather than the payment request object is to generate a 1 time invoice for your subscription product, the customer pays that invoice, you...

Maybe try this. I did not test this. ``` .markdown-editor { ime-mode: disabled; } ``` Modify the onKeyDown function in the following way: 1. Open static/markdown/jquery.markdown.js file in the django-markdown-editor...

Maybe try this. Did not test this. 1. Add a custom JavaScript function to trim the link: ``` function trimLink(link) { return link.trim(); } ``` 2. Modify the "insertLink" function...

Might be related to the dropdown function in the jQuery library. Load jquery before the martor editor or Martor's JavaScript should be loaded before the jQuery import in your HTML...

Maybe something like this. I did not test this. You can modify the markdownify function to add a custom renderer for code blocks inside ordered lists. Here's an example of...

Yes, you can render elements with a prefix to avoid id collisions. Here's an example of how you can modify the markdownify function in django-markdown-editor to add a prefix to...

Maybe something like this. I did not test this so it is only intended to give some ideas. To pre-load text into the Django Markdown Editor with JavaScript, you can...

Maybe try this. I did not test this but maybe it can help someone. 1. Install the python-flickrapi library by running `pip install flickrapi` in your terminal. 2. In your...

To remove the default width and height media attributes when inserting a video using django-tinymce, you can create a video_template_callback function in your Django project's settings.py file. Here is an...