Re:

2012-10-09 Thread Igor
фейсик после ipo сильно потерял в цене акций - им нужна комерциализация конче ;) хорошее слово "конче" нам тоже нужно ентое "конче" On Tue 09 Oct 2012 07:28:01 EEST, django-developers@googlegroups.com wrote: Today's Topic Summary Group: http://groups.google.com/group/django-developers/topic

a small typo in #3007/r4058

2006-11-10 Thread Igor Goryachev
+msg['Message-ID'] = "<[EMAIL PROTECTED]>" % (time.time(), random_bits, DNS_NAME) BTW, I've tried to reopen #3007, but got the following message: Submission rejected as potential spam (Akismet says content is spam) -- Ig

Proposal: cacheif template tag

2022-09-24 Thread Igor Margitich
Hi django-developers, I would like to propose new template tag `cacheif`. Could be useful when you need to cache part of html and it depends on some condition. Template tag is similar to built-in `cache` tag but accepts extra boolean parameter. See example: {% cacheif user.is_anonymous 10 home

Re: Proposal: cacheif template tag

2022-10-12 Thread Igor Margitich
UTC+2 carlton...@gmail.com пише: > Hey Igor, > > I wonder if you can achieve the same varying the timeout parameter based > in user.is_authenticated? > > Kind Regards, > > Carlton > > On Sat, 24 Sept 2022 at 15:35, Igor Margitich wrote: > >> Hi django-de

Re: Creating internal/admin pages without Models

2022-10-25 Thread Igor Margitich
Hi Vasanth, Can you ptovide an example when do you need generic admin view? I have case where I need gather some information from different not directly related tables. I have used https://pypi.org/project/django-nonrelated-inlines/. Can't say it is exactly what I need but seems it does the job. A

'admin_templates/registration/*.html' is ignored in setup.py

2005-08-29 Thread Igor Goryachieff
Hello. It seems to me 'admin_templates/registration/*.html' is ignored in setup.py. Patch is attached. -- Igor Goryachieff Jabber: [EMAIL PROTECTED] http://goryachev.org/ Index: setup.py === --- setup.py

sending mail in utf-8

2006-01-15 Thread Igor Goryachev
xt(message, 'plain', DEFAULT_EMAIL_CHARSET) +msg['Subject'] = str(Header(subject, DEFAULT_EMAIL_CHARSET)).replace('\n', '').replace('\r', '') msg['From'] = from_email msg['To'] = ', '.join(recipient_list) server.sendmail(from_email, recipient_list, msg.as_string()) = -- Igor Goryachev E-Mail/Jabber: [EMAIL PROTECTED]

Re: sending mail in utf-8

2006-01-16 Thread Igor Goryachev
Igor Goryachev <[EMAIL PROTECTED]> writes: > I think it would be very useful if it was possible to send e-mail (using > 'django.core.mail') in something different than 'us-ascii', for example, > in 'utf-8' by default. I have tried to implement this:

Design decision on ticket #13223

2012-02-21 Thread Igor Sobreira
hod called by clone_view() function where the user could copy the file on disk or do anything she wants regarding form filling on GET. Thanks in advance, Igor. [1] https://code.djangoproject.com/ticket/13223 -- Igor Sobreira www.igorsobreira.com -- You received this message because you are subscrib

Re: Design decision on ticket #13223

2012-02-22 Thread Igor Sobreira
te it with this new object and be consistent with the default admin > functionality. > > Regards, > -- > juanpex > -- Igor Sobreira -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discuss

Re: Design decision on ticket #13223

2012-02-23 Thread Igor Sobreira
(for example, change unique fields like slug, since the user will have to edit anyway) But it's possible to implement as Thomas suggested, just provide a new reference for the same file on disk by default, and let the developer choose to copy or not. I'll work on an implementat

Use RequestContext if possible in default 500 error view

2009-04-29 Thread Igor Sobreira
ts [1] I'm asking for attention on it because I couldn't find a reason why not use a try/except here, and because the try/except solution what added after the ticket was closed, maybe nobody paid attention to it. [1] http://code.djangoproject.com/ticket/5617#comment:3 Regard

Re: Use RequestContext if possible in default 500 error view

2009-04-30 Thread Igor Sobreira
It seems I'll need to always override this view to provide at least MEDIA_URL for all my projects. -- Igor Sobreira www.igorsobreira.com www.smartnutstechnology.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Django self reference (FK) change SQL result

2018-12-12 Thread igor malinov
Good day for Everyone. Because I have self-reference, my queryset no work properly I have a model class Agency(Organization): organization_ptr = models.OneToOneField(to='Organization', parent_link=True, primary_key=True, related_name='%(class)s', serialize=False, on_delete=CASCADE) accr