Over the past few years, Disqus has become one of the biggest Django apps in existence, crossing over a billion unique visitors a month. But sometimes Dâ¦

In a recent Django class one of my students posed the problem she was learning Django to tackle - she would be responsible for writing a web-based administrative interface to a database whose structure she wasn't allowed to modify. Can Django do that? Absolutely - and Django even comes with a management command to bootstrap working with a legacy database. Let's create a brand new project, use a po
This document discusses refactoring Django applications using a hexagonal design pattern to improve modularity, loose coupling, and testability. It describes how a typical Django application can become coupled to the framework over time as new features are added. The hexagonal design pattern advocates separating the core domain model from the framework so it does not depend on Django classes or mo
When discussing the scalability of Web services there seems to be a tendency for some developers to overly focus on the framework being used, based on the mistaken assumption that smaller means faster, rather than considering the architecture of the application as a whole. Weâve seen several cases of developers making these assumptions before they start building their API, and either discounting D
Djangoã®Webã¢ããªãéçºãã¦ããéããªãã¡ã¯ã¿/ãã¹ãæ¡å ã®ããã«éããæ å ±ãã¾ã¨ãã¾ãã #1 Djangoããã¸ã§ã¯ã/ã¢ããªã±ã¼ã·ã§ã³/è¨å®ãã¡ã¤ã«æ§æ #2 Djangoãã¹ãæ¦è¡ #2 è£è¶³ç·¨ #3 Django Model/View/From/Templateæ¦è¡ æ¦ç¥ããããèªåãå ¥ç¤¾ããææ¢ã«ãã£ãåæã«å¯¾å¿ããçºã«èããæ¦è¡ãä¸å¿ã«æ¸ãã¦ããã¾ããã¾ããèªåã®æèããã³ããã¦è¨é²ãã¦ããã¨ããç®çãããã®ã§ãè¨è¿°ãåé·ãªé¨åãããã¾ããã容赦ãã ããã åæ æ¢ã«æ¬çªãªãªã¼ã¹ããã¦ã Django 1.5ã§ä½ããã¦ã ä¸/å°è¦æ¨¡Webã¢ããªã±ã¼ã·ã§ã³(ãã¼ãã«ãµã¤ãº10 - 20) éçº/éç¨1人(achiku), ã¢ããã¤ã¶ã¼/ã¬ãã¥ã¼ã¢ã¼1人(moquada) ããã¯ã¨ã³ãå¦çãã¸ãã¯ã¯æ¯è¼çã·ã³ãã« Celeryã使ã£ãéåæã¿ã¹ã¯ã¨ãã¦åãå¦çããã JS
Solrã¨ã¯ ãªãããããOSSã®æ¤ç´¢ã¨ã³ã¸ã³ã§ããLuceneãå ã«ããREST風ã«ãªãã楽ãã§ããæ¤ç´¢ãµã¼ãã¼ããµã¼ãã¼ã¯Javaã§ã§ãã¦ããããã¯ã©ã¤ã¢ã³ãã¯ãããããªã¹ã¯ãªããã§åãåºããããã æ§ç¯ç°å¢ Ubuntu 11.10 MySQL ã¤ã³ã¹ãã¼ã« ã¨ããããhomeã«wgetããã ãã好ããªã¨ããããè½ã¨ãã¾ããã http://www.apache.org/dyn/closer.cgi/lucene/solr/ wget http://ftp.jaist.ac.jp/pub/apache//lucene/solr/3.5.0/apache-solr-3.5.0.tgz tar xzvf apache-solr-3.5.0.tgz ã¤ã³ã¹ãã¼ã«ã¯ããã ãã§ã§ãããããã§ã¯apache-solr-3.5.0ã解åãããã£ã¬ã¯ããªã$SOLRã¨ããã å®è¡ã«ã¯JDKãå¿ è¦ãã
èªåã®åå¼·ä¸è¶³ã®ããã§ããããã¼ã¹ãã³ãã¬ã¼ãã®ä½¿ãæ¹ãééã£ã¦ãã¾ããã Django-jaã§æãå¤ããèãã¦ã¿ã¾ãããMiCHiLUãããæãã¦ãã ããã¾ããã ãã³ãæããã¨æãã ã«{% block css%}ã{% block js %}ã¨ãç½®ãã®ãããã¨æãã¾ã ã¨ãããã¨ã§ããä»å¾ã®èªåã®çºã«ãåãæ©ã¿ãæã£ã人ã®çºã«ä»¥ä¸ã¾ã¨ã ãã³ãã¬ã¼ããæ¡å¼µãã¦ããéã«ãJSã¨ããCSSãé©å®é©ç¨ããæ¹æ³ ãªãã¨å¼ã¶ã®ãç¥ããªãããDjangoã®ãã³ãã¬ã¼ãã·ã¹ãã ã¯ããã¼ã¹ãã¡ã¤ã«ãç°¡åã«æ¡å¼µãã¦ãããã å½åå®ç¾© ãã¼ã¹ãã¡ã¤ã« ã³ã³ãã³ãã®è©°ã¾ã£ã¦ãªãã²ãªå½¢ æ¡å¼µãããã¡ã¤ã« ãã¼ã¹ãã¡ã¤ã«ã«å ·ä½çãªå 容ãæå®ãããã¡ã¤ã« æé ãã¼ã¹ã®ãã¡ã¤ã«ãç¨æããã æ¯å絶対æ¸ããããªã㤠1)ã®ä¸ã«ãããã¯ãå®ç¾©ãã¦ããã å©ç¨ãã度ã«å 容ãå¤ããé ç®ããããã¯({%hoge%} fo
django | 23:09django1.3 ã¯ã©ã¹ãã¼ã¹ãã¥ã¼ã®æ¦è¦django1.3ã§ã¯ã©ã¹ãã¼ã¹ãã¥ã¼ããµãã¼ããããããã«ãªã£ãã使ãæ¹ã¯ä»¥ä¸ã®éãã from django.views.generic ã«Viewã¨ããå®ç¾©ããã¦ããã Viewã¯as_viewãå¼ã¶ã¨request, *args, **kwargsãå¼ãåããcallableãªãªãã¸ã§ã¯ããè¿ãã Viewã®http_method_namesã¨ããå±æ§ã«['get', 'post']ã¨ãã£ãããã«ãµãã¼ããããªã¯ã¨ã¹ãã¡ã½ãããæå®ãã¦ããã Viewã«get, post..ã¨ãã£ãã¤ã³ã¹ã¿ã³ã¹ã¡ã½ãããå®ç¾©ããã¨ãªã¯ã¨ã¹ãã¡ã½ããã«å¯¾å¿ãã¦å¼ã°ãããä¾ãæããã¨ãããã from django.views.generic import View from django.http import HttpResp
ã©ã³ãã³ã°
ãç¥ãã
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}