Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
A SAAS platform for a financial transformation consultancy with Fortune 500 clients.
-
There are a couple of different libraries for Ember that add the ability to set the page title for each page in your application by simply creating a `title` property on each route.
-
Ember's ethos of 'components everywhere' makes it really quick and easy to make reuseable widgets.
-
HTML5 makes it really easy to create elements that can be both dragged and dropped.
-
Using off-the-shelf parts with a Raspberry Pi, you can make a remote controlled power switch to turn appliances on/off.
-
Using a microcontroller/USB HID you can easily create physical push buttons for your project that, when pressed, will appear as key strokes in your application.
-
This post shows you how to create a custom marker component that integrates the Leaflet.label add-on to get nice pop-up labels on your ember-leaflet maps.
-
As of Django 1.9, there are a number of new permission mixins you can use with your views to make access control easier.
-
An irreverent web design and development agency I ran with my friend Sterling for over 10 years.
-
An app I built to find your nearest cosy pub with a fireplace.
-
Fastmail recently updated their SSL certificate, breaking my offlineimap email backups.
-
Save yourself writing the same queries time and time again by creating a simple model manager with common queries for your generic foreign keys
-
When you are using phpMyadmin on MAMP or MAMP Pro out of the box, you might run into trouble trying to import large databases due to PHP's default upload and timeout settings.
-
This post outlines a simple Django app that allows the user to upload an image via an URL while making sure the image file is valid.
-
One of my most popular Stackoverflow answers is to a question regarding the confusion between static and media files in Django.
-
In a previous post I outlined a sane folder structure for a new Django project.
-
A very nice and clean way to deploy a Jekyll (or any other static generated site) is to setup a very small application on your sites webserver to listen for post commit hooks from Bitbucket.
-
I was recently getting this error while trying to deploy a new project to production.
-
Sorl-thumbnail has a sensible crop function in the default engine, but sometimes you need a little more control over the results.
-
It's very easy to generate URLs to your django models using get_absolute_url(), but you can also use this pattern to just as easily create URLs to the admin page for your django models too.
-
If you update `request.POST` or `request.GET` in a view (or else where), any subsequent calls to `request.REQUEST` will still return values from the old, outdated `GET` and `POST` dictionaries.
-
When using GenericRelations with Django to create unique generic foreign keys between objects, it can become tiresome having to navigate the RelatedManager every time you need to retrieve the single instance of the one-to-one relationship.
-
Django's annotate method can be useful for counting particular attributes on every member of a queryset (i.e. count the number of books an author has).
-
Fandjango is a great application for getting a Facebook Canvas application up and running.
-
When beginning with Django I always found it difficult to decide on basic project layouts.
-
I'm a big fan of using Virtualenv (and virtualenvwrapper) where possible.
-
At times you need to use both sorl.thumbnail and easy_thumbnails in the same template.
-
Django's select_related QuerySet method is a great way to reduce the query count when joining tables but it should come with small print in the documentation.
-
If you are checking your settings.py into Git, make sure you aren't including any potentially sensitive information such as database passwords, secret keys and so on.
-
When the generated URLs of your objects depends on a field in your model that could potentially change (for example a slug field that is generated from a title which your editor just changed), you can get yourself into trouble with Google as your old URL…
-
I encountered a strange problem when making use of a custom AppHook with [django-cms](https://www.django-cms.org/en/).