migrating from yesod 0.8 to 0.9 - yesod

I have just upgraded to yesod 0.9 and I am getting this error below, which is not mentioned in the upgrade guide in the Michael's announcement (http://www.yesodweb.com/blog/2011/08/yesod-0-9-release-candidate):
config\Settings.hs:27:18:
Could not find module `Text.Lucius':
how to fix this?

needed to addshakespeare-cssto my.cabalfile.

Related

Can I use Python 3.7 with Django 1.11?

We have an existing Django application which uses Django 1.11 and Python 3.6. For some security reasons I have been asked to use Python 3.7. I need to make the minimum changes possible. Do I need to upgrade Django as well? If so , is there any code changes required?
Thanks,
Python 3.7 compatibility was retrospectively added into the classifiers for Django v2.0 in this commit, even though v2.1 was already out. 1.11 was not included.
Discussion on Django tracker is here: https://code.djangoproject.com/ticket/28814
However, 1.11.x is LTS release series, so maybe if you're lucky that will still be added in a micro version upgrade at some later date.
Edit: Python 3.7 support was added in the micro version upgrade for Django 1.11.17 (2018-12-03, about 3 months after this question was originally asked)
According to this page on the Django docs, support for Python 3.7 was added in Django 1.11.17.
https://docs.djangoproject.com/en/1.11/faq/install/#what-python-version-can-i-use-with-django
"Django 1.11 requires Python 2.7, 3.4, 3.5, or 3.6. Django 1.11 is the first release to support Python 3.6. We highly recommend and only officially support the latest release of each series."
In the future, such questions are inevitably asked and answered in the Django docs.

Upgrading a django 1.4 project to 1.8 version

I am new to django and i have a django 1.4 version project. i am trying to run it in django 1.8 environment. I'd like to upgrade my 1.4 project to 1.8 without rewriting the project.
If someone knows a way to do this please help me. I tried surfing for answers but couldn't find any.
There is no magic answer I am afraid.
You'll need to read the Django release notes for 1.5, 1.6, 1.7 and 1.8, and make any appropriate changes to your code.
Django recently updated their release roadmap, which will make it easier to upgrade from the current LTS 1.8 to the next LTS 1.11.

Does anyone use backlogs with redmine 2.4.2 successfully?

I am about to install redmine with backlogs plugin in a new server, and find the newest version of redmine is 2.4.2. Any people makes them work together successfully?
Someone has tried this.See below
https://github.com/backlogs/redmine_backlogs/issues/1020

Django-Haystack elasticsearch prefetch error

i'm new to haystack and elasticsearch, so sorry in advance for a possibly lame question
when trying to ./manage.py rebuild_index, i'm getting the error:
TypeError: request() got an unexpected keyword argument 'prefetch'
all the dependencies are installed as described in the manuals, the configuration made properly for the current version of django-haystack (2.0.0-beta). the project lives on mac os x lion, python 2.7.1, django 1.4, elasticsearch 0.20.1, JVM: 20.12-b
i searched here and there but couldn't find anything on this error. please, help
thanks in advance!
The latest version of the requests library is not backwards compatible with the one that pyelasticsearch was written for. You can either downgrade the requests library to one that works with your installed pyelasticsearch or you can install pyelasticsearch from the sources on github.
https://github.com/rhec/pyelasticsearch
I had that error when using pyelasticsearch version 0.2. When I upgraded to 0.3 the error went away. So I think the latest version works with the latest version of requests.

Support for Django 1.4 in google-app-engine

When can we expect support for django 1.4 in Google App Engine?
There is an open issue about django 1.4 update you should star it and you will get notified on the issue.
As of October 23, 2012, “Django 1.4 is now fully supported for Python 2.7.”
Looks like its released and supported: https://code.google.com/p/googleappengine/issues/detail?id=7218