Re: Django/Python vs Grails/Groovy

2013-01-14 Thread serek
Hi I have tried both and decided to stay with Django. Both frameworks are great, but it was annoying that Grails did some compilation every time I changed something. Sometimes it was fast, sometimes it was long enough to start to read blog articles and be distracted from main work. There was

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread serek
I understand you quite well. >From the same reason I have moved to Copenhagen. Not so cold as I expected, but nice. If you do not find anything in Reykjavik or Tromsø you can try http://www.xstream.dk/company/jobs It is rather PHP job(if we get more python people I hope we switch;) Just send CV

Re: Possible interest in a webcast/presentation about Django site with 40mil+ rows of data??

2011-06-22 Thread serek
Great idea. I also would like to see this webcast On Jun 22, 6:00 pm, "Cal Leeming [Simplicity Media Ltd]" wrote: > On Wed, Jun 22, 2011 at 4:55 PM, creecode wrote: > > Hello SleepyCal, > > > On Wednesday, June 22, 2011 6:15:48 AM UTC-7,

how can I filter related (foreign key) objects?

2011-02-16 Thread serek
Hi I have not idea how to describe my problem, so I show pice of code: class Aaa(models.Model): name = models.CharField(max_length=200, unique=True) is_active = models.BooleanField() class Meta: ordering = ('name',) def doMagic(self): date = '2010-05-04'

dir not working in manage.py runserver

2010-03-27 Thread serek
Hi When I run manage.py shell and use this code: >>> from .page.models import * >>> p = Page() >>> dir(p) it is work well, but when in views.py I use the same then is no output? Why? I need something similat to php var_dump or pront_r (to source page or console). What I do wrong? -- You

Re: How verbose model name in admin panel

2010-03-24 Thread serek
Yes, you nad Nuno have right. Now it is work wll Thanks for help On 24 Mar, 18:56, Shawn Milochik wrote: > The verbose name options you show should work, but they should be in a meta > class within the main model. > > Example: > > class Category(models.Model): > >        

How verbose model name in admin panel

2010-03-24 Thread serek
Hi I use Django 1.1 and I would like to display in admin panel different model name. For example from code: class Category(models.Model): in admin panel I receive 'Categorys' instead of Categories I googled for this and try: class Category(models.Model): verbose_name = "Kategoria"

Re: Strings in page in []

2010-03-22 Thread serek
Hi You have right. Thanks you very mach!!! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Strings in page in []

2010-03-21 Thread serek
Hi I use djangoflash http://djangoflash.destaquenet.com/ and after add message to flash request.flash.add('message', 'test') and redirect i receive ['test'] instead test code which display this: {% if flash %} {% for key, value in flash.items %} {{ value }}

How works django

2010-03-09 Thread serek
Hi I am quite new in django. Could you explain me how django process incoming request? I have coded in php before, and there every request was like script starts again (read config file, connect db, etc). in django it seems different ;) and I do not understand it well yet. I will thankfull for