Kako pratim Django svjetsku scenu, naletio sam na par linkova s Django forama koje mi se čine korisne, pa umjesto da ih prepisujem staviti ću linkove
P.S.
UPDATE dodan jos jedan link s hvale vrijednim savjetima
» Tags django » Show comments » 0 comments
Eto i to smo dočekali, službeno je izašao Django 1.0, http://www.djangoproject.com/weblog/2008/sep/03/1/.
Od zadnje objave vezije 0.96 promjenilo se dosta toga, a kako je 0.96 release objavljen skoro godinu dana ovaj release 1.0 se dugo čekao, a ljudi nestrpljivi, svi su korisitili trunk verziju koja je bila prihvatljivo stabilna.
E sad ljudi koji će prebacivati svoje postojeće projekte s vezije 0.96 na 1.0 imati će dosta posla, zbog Backwards Incompatible promjena, previše je da ih nabrajam pa za više detalja svratite na: http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges.
Kao poklon na kraju link na djanog šalabahter: http://www.mercurytide.co.uk/media/whitepapers/django-cheat-sheet/django10-cheat-sheet.pdf
» Tags django news » Show comments » 0 comments
Dođoh na posao danas, upalim svoj omiljeni rss reader, povučem svoje feedove se reddita. krenem čitati. A ono:
i šta da radim sad?
P.S.
Nešto je ovo jako čudno..... iz firefoxa mi stavr uredno radi, a u Operi ne, hmmm, jeli to možda jer sam ulogiran, inače reddit radi sasvim uredno jedino što se nemožete logirati na njega.
P.S.S I evo ga opet radi
» Tags reddit news » Show comments » 0 comments
Eto upravo mi u mom omiljenom RSS readeru iskočila obavjest s reddita. Postao je open source. Biti će zanimljivo promatrati kako će se cijela stvar dalje razvijati, da li će prihvatiti korisničke patcheve i da li će se mjenjati nabolje ili nagore.
reddit trac je dostupan na http://code.reddit.com/ a fora je da ako ste registriran reddit korisnik vas reddit acc se mapira na trac acc super.
» Tags news » Show comments » 5 comments
We all know that Django is great Python web framework, however one thing that bothers me is the lack of good development tool (Yes, I know there is VIM, and there is Emacs but guys it is 2008.) In my humble opinion best development tool for python is PyDev, Eclipse plugin for Python. The irony is that the best Python IDE is written in Java :).
With PyDev and Aptana, another irreplaceable plugin(but that is another story), you can do great Django development.
There are lot's of tutorial how to use Django and PyDev (Configuring PyDev to work with Django : http://pydev.blogspot.com/2006/09/configuring-pydev-to-work-with-django.html is a good place to start).
One thing that is very nice in Django is interactive shell, but this feature must be integrated with IDE, I missed this feature for long time, but in version 1.3.15 PyDev released new interactive console, great feature. First you need PyDev version 1.3.15 or higher (try to use latest one).
You can start interactive console from Console View by clicking on the button Open Console(look picture below).
You will get a dialog asking for a type of console you want to open, select Python console and press OK.
That is it, you have now working python interactive console. Out of the box you get some nice features like autocompletition and syntax coloring. What we want do next is to have interactive console for Django.
Here is a little tutorial how take advantage of PyDev interactive console for Djagno shell.
import sys
from YOUR_OWN_PROJECT import settings
from django.core.management import execute_manager
execute_manager(settings,['','shell'])
import sys; print '%s %s' % (sys.executable or sys.platform, sys.version)
from django import get_version;print "Django version %s" % get_version()
from django.core.management import execute_manager
from slavus import settings
execute_manager(settings,['','shell'])
Where YOUR_OWN_PROJECT is the name of yours top level Django project. It is important to mention that if you have multiple Python/PyDev projects in your workspace you have to change your preferences configuration every time you want start interactive console for anathor project. After starting the shell, you will get output something like this:
import sys; print '%s %s' % (sys.executable or sys.platform, sys.version)
C:\Python25\python.exe 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
from django import get_version;print "\Django version %s" % get_version()
\Django version 0.97-pre-SVN-7568
from django.core.management import execute_manager
from slavus import settings
execute_manager(settings,['','shell'])
>>> Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>
That is it, you have working Django interactive console. Now you can do things like this:
from slavus.article.models import Article
Article.objects.all()
[<Article: example1>, <Article: example2>, <Article: example3>]
But there is also autocompletition:
Enjoy!
» Tags django pydev eclipse » Show comments » 130 comments
JQuery version 1.2.6 released was releasd yesterday, and what's new
- Performance Improvements
- Event Handling is 103% Faster
- CSS Selectors are 13% faste
- .offset() is 21% faster
- .css() is 25% faster
- New features
- .attr() overhaul
- .toggle() can now accept more functions
- You can now unbind bound .toggle() and .one() functions
- .index() supports jQuery collections
- jQuery.makeArray can convert ANYTHING to an array.
- beforeSend can cancel Ajax calls
- Exposed Speeds
For full report go to offcial JQuery blog: http://jquery.com/blog/2008/06/04/jquery-126-events-100-faster/
» Tags jquery » Show comments » 0 comments
Da blog ne stoji prazan otvaram ovaj blog. Uživajte
» Tags open » Show comments » 0 comments
What is this site/blog about? I really don't know, it is just a cluster of articles about programming and computers.