I am using django-markdown and I cannot get it to show the actual markdown in my text... I have followed all the instructions and it works in the preview. I am not getting any errors so IDK where to start looking...
Django markdown hasn't been updated since December 2014 and it is quite likely that it isn't compatible with the changes made in django 1.9.
Requirements
python >= 2.7
django >= 1.6
markdown
You probably want to use markdown-deux or a different library that supports a newer version of django
Related
It should be like this:
But in my case it shows this instead:
I use newest version of vscode (1.71.2), I have tried every django extensions on marketplace, nothing work.
How can I fix this?
I also encountered the same. On july I did a django project using django version 4.1.1, I think the issue might be vscode augus update
I have recently downloaded and installed Sitecore' web forms for marketers. It has installed successfully and I have created a Form within the CMS with basic fields on it. However when I go to add the form to a page through PageEditor I get the message "an error occured". When I then check the log I see the following exception
Exception: System.MissingMethodException
Message: Method not found: 'System.Guid Sitecore.Analytics.Data.PageEventData.get_PageEventDefinitionId()'.
Source: Sitecore.Forms.Core
at Sitecore.Forms.Shell.UI.CustomizeAnalyticsWizard.OnLoad(EventArgs e)
I have decompiled the Sitecore.Analytics DLL and I cannot find this method that it is looking for anywhere. I downloaded the module version 2.5 for SItecore 7.5 revision 150209.
Can anyone tell me if I am missing a newer or older version of the a DLL or something because I can't seem to figure out where this method should exist.
Thanks
OK after a bit of looking around and tweaking. I stripped out the version I installed by following the documentation on how to uninstall WFFM. I then downloaded version 2.5 revision 141014 and installed that. At a first glance this seems to be working. If I add the form to the page via content editor it works and renders fine. It seems to submit fine too. The forms won't render using page editor mind but I am not sure what that issue is as I haven't investigated.
Either way it would seem that revision 150209 is for Sitecore 8 and revision 141014 is for Sitecore 7.5. Hope this helps anyone else who comes across the same issue.
Version: Sitecore 7.2 rev. 140526.exe, MVC 5
I am trying to do a small poc with Sitecore MVC. Where I have defined some placeholder in the layout and I have added some components.Now if I am trying to view the page I get below issue.
Any Idea??
Thanks,
I was having the same issue some time ago after upgrading from Sitecore 7 (MVC3) to Sitecore 7.2 (MVC5). The cause was an old version of the Sitecore.Mvc.dll that was being copied into my website's bin folder on compile.
The (file) version you need of the file is 1.0.0.4757. Mine was still 1.0.0.3xx-something. Don't mix this up with the version that's displayed in Visual Studio, as both files show up identically as being 1.0.0.
Django 1.6 disabled the formerly automatically enabled sitesframework. This introduced a bug in the views section of admin docs.
The maintainers have already fixed and closed it
https://code.djangoproject.com/ticket/21386
I have a fresh pip install of 1.6, but the error is still present. My guess is that the fix is currently not built into the latest stable available over PIP?
My question is: What way would you suggest to get that fix into my running setup? (If possible I'd like to leave it on PIP instead of checking out django directly from Github)
Solution from the maintainers
If someone stumbles upon this issue see bouke's reply on the official ticket:
https://code.djangoproject.com/ticket/21386#comment:8
Setting SITE_ID=None in your settings.py solves the error.
This was fixed in the master branch, which is the place where development toward the new major 1.7 release happens. This means the problem will be fixed in 1.7, but the version is not out yet, and won't be for the next couple of months.
You may try asking the Django team (politely!) to backport the change to the stable/1.6.x branch, since its not a new future, but just a fix for a problem in 1.6. Changes in this branch will be included in the minor 1.6.2 release, when it comes out.
My question is: What way would you suggest to get that fix into my
running setup? (If possible I'd like to leave it on PIP instead of
checking out django directly from Github)
You will not find a version with the fix in the Python Package Index (used by pip), as long as a stable release which includes the change doesn't come out.
Here are some options:
Wait till a new stable version with the fix comes out.
NOT RECOMMENDED: You can install a current development version of Django from the master branch. This would solve your particular problem, but would be absolutely insane and most likely would introduce all kinds of other problems.
You can get the 1.6.1 stable version from git, and then try to manually cherry-pick the change from the master branch. It's quite likely this won't work or at least require some additional manual changes, since the change was not originally intended for the 1.6.x branch.
If you get the team to backport the change to the 1.6.x branch you can run Django from this branch. I wouldn't do this in production, but it is much safer than running from master. This of course would be a temporary solution, before a new minor 1.6.x version comes out.
If you get the team to backport the change to the 1.6.x branch, you can get the 1.6.1 stable version from git, and then manually cherry-pick the change from the 1.6.x branch.
I am trying to install satchmo using the instructions given in the site. Everything works fine except the admin part. The moment I hit http://<SERVER_NAME>/admin, I get the following error:
'admin_static' is not a valid tag library: Template library
admin_static not found, tried
django.templatetags.admin_static,satchmo_store.shop.templatetags.admin_static,django.contrib.admin.templatetags.admin_static,django.contrib.comments.templatetags.admin_static,sorl.thumbnail.templatetags.admin_static,livesettings.templatetags.admin_static,satchmo_utils.thumbnail.templatetags.admin_static,satchmo_store.contact.templatetags.admin_static,tax.templatetags.admin_static,product.templatetags.admin_static,payment.templatetags.admin_static,satchmo_utils.templatetags.admin_static,app_plugins.templatetags.admin_static
I have no clue why is it saying that as it should be present by default.
Thanks
You are probably using Django 1.5 which has dropped support for the admin_static tag that satchmo tries to find. Downgrade to 1.4.5. and you should be ok.
Satchmo currently requires Django 1.4+, since July 2012, according the source documentation. (Fixed outdated requirements on the home page now.)