Related Articles

Back to Latest Articles
ADAM 5510E TCP

ADAM 5510E TCP

I got some days ago the new ADAM 5510E TCP. It is nicer than ADAM 5000TCP that we showed in August. We will not show photos of it this time because it looks the same as its brother ADAM 5000TCP. What makes the new ADAM better?  Mainly that we can get inside to program it with C. What is it inside? How to get inside? Through the RS-232 port for programming like this screenshot: What software is included with it? What can I do with it?: You can program yourself in […]

Likindoy’s name

Likindoy’s name

Finally, we got the name we were looking for in our program, and the “Chicken Man” legend was finished. Our old programs, Grafista and iScada, definitely changed the name to “Likindoy“. “Al likindoy” means watching something, taking care of something, and having a look. “Al likindoy” means to be in that status (being watching something). For example, you leave your car in a parking lot, and […]

Django 1.7 Review
Django 1.7 Review

Finally, Django 1.7 is out, and it is great. Even if it broke some of my oldest Django projects, I love their philosophy. They focus on doing things in the right way. Getting my oldest websites back to life took me a few minutes, but it helped me update them. The first project I made was in Django 0.96. It has been the easiest to keep updated on all the projects I made from then. Here you have some quick details from it:

  1. Python version support is now from 2.7 to 3.4 (so no more support for Python 2.6 or earlier)
  2. South became part of Django’s core (they took too long to make this great decision), so Django 1.7 comes with easy migrations. If you change a model, it will be “easy” to keep your database updated.
  3. Startup has changed. This is one that gave some pain with the errors “ugettext_lazy gets translated too early” or “AppRegistryNotReady” Get ready because the scripts you execute from the shell will fail too.
  4. WSGI script no longer supports “django.core.handlers.wsgi.WSGIHandler()”; instead, you have to use “get_wsgi_application().
  5. ALLOWED_HOSTS is not optional anymore.
  6. Django is timezone aware, so “today” and “now” operate in the current time zone.
  7. I highly recommended using TZ=True and installing pytz support.
  8. The unittest module is deprecated, so “django.utils.unittest” is old, and you should use “unittest” instead.
  9. The simplejson module is deprecated,  so “django.utils.simplejson” is old, and you should use “json” instead.

We haven’t found any problem in this version that would prevent us from using it. If you are a Django developer, be aware I wrote the most basic and common details we found during our website migrations, but you should check the release notes just in case your project is doing some weird things than we do in ours. 🙂

My final summary is: what are you waiting for?

Comments

Related Articles

Programación

CODENERIX

🇬🇧 Read it in English, “What is it CODENERIX?“ Es el nombre que recibe el software libre generado por Centrologic para desarrollo de herramientas de gestión mediante tecnología web gracias a Django/Python y a AngularJS (by Google), todo maquetado con Bootstrap (by Tweeter) para conseguir un resultado impecable, rápido, ligero y eficiente. Cuando comencé a desarrollar la […]

Posted by Juanmi Taboada
Programación

Open South Code – 5 y 6 Mayo Málaga

Open South Code – 5 y 6 Mayo (La Térmica, Málaga) EVENTO GRATUITO DE SOFWARE LIBRE CREATIVIDAD, TENDENCIAS EN PROGRAMACIÓN, FUTURO Tiene lugar la 2ª edición del Opensouthcode el 5 y 6 de Mayo en La Térmica de Málaga.Evento gratuito dedicado en exclusiva al software/hardware libre, consolidándose como el evento de referencia para todos los interesados en difundir, […]

Posted by Juanmi Taboada