<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Коментарі до coolchevy&#039;s blog | Life and experience</title>
	<atom:link href="http://coolchevy.org.ua/comments/feed/" rel="self" type="application/rss+xml" />
	<link>https://coolchevy.org.ua</link>
	<description>мій особистий блог &#124; нотатки</description>
	<lastBuildDate>Tue, 20 Dec 2011 21:24:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Коментарі до Django admin filter by ranges of dates with calendar від Анонімний</title>
		<link>https://coolchevy.org.ua/2011/02/01/django-admin-filter-by-ranges-of-dates-with-calendar/comment-page-1/#comment-2699</link>
		<dc:creator>Анонімний</dc:creator>
		<pubDate>Tue, 20 Dec 2011 21:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.coolchevy.org.ua/?p=718#comment-2699</guid>
		<description>Some django filters is changed in django 1.3.x.
Filter issue for django 1.3 fixed  in master branch, avaliable here https://github.com/coolchevy/django-datefilterspec/

working version for django 1.2.x avaliable here
https://github.com/coolchevy/django-datefilterspec/tree/djano-1.2.x</description>
		<content:encoded><![CDATA[<p>Some django filters is changed in django 1.3.x.<br />
Filter issue for django 1.3 fixed  in master branch, avaliable here <a href="https://github.com/coolchevy/django-datefilterspec/"  rel="nofollow">https://github.com/coolchevy/django-datefilterspec/</a></p>
<p>working version for django 1.2.x avaliable here<br />
<a href="https://github.com/coolchevy/django-datefilterspec/tree/djano-1.2.x"  rel="nofollow">https://github.com/coolchevy/django-datefilterspec/tree/djano-1.2.x</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Коментарі до Django admin filter by ranges of dates with calendar від Rogério Alexandre Machado Carr</title>
		<link>https://coolchevy.org.ua/2011/02/01/django-admin-filter-by-ranges-of-dates-with-calendar/comment-page-1/#comment-2698</link>
		<dc:creator>Rogério Alexandre Machado Carr</dc:creator>
		<pubDate>Tue, 20 Dec 2011 16:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.coolchevy.org.ua/?p=718#comment-2698</guid>
		<description>Hi! I&#039;ve tried to implement your code using django 1.3.1 and it is not working. I did:

At my main class:

class Operation(models.Model):
    
    
    date = models.DateTimeField(default=datetime.now, verbose_name=&#039;Data&#039;)
    date.date_filter = True
    value = models.IntegerField(verbose_name=&#039;Volume&#039;, default=0)
    product = models.ForeignKey(Product, verbose_name=&#039;Produto&#039;)
    
    class Meta:
        verbose_name = &#039;Operação&#039;
        verbose_name_plural = &#039;Operações&#039;
        
    class Admin:
        list_filter = [&#039;date&#039;]

and at admin.py I did:

class OperationAdmin(admin.ModelAdmin):
    
    list_display = (&#039;type_operation&#039;, &#039;product&#039;,&#039;date&#039;,&#039;value&#039;,&#039;status&#039;)
    list_filter = (&#039;type_operation&#039;, &#039;status&#039;,&#039;date&#039;)
    
    search_fields = [&#039;product__name&#039;]
    
And I got the follow error:

TypeError at /admin/core/operation/

__init__() got an unexpected keyword argument &#039;field_path&#039;

Request Method: 	GET
Request URL: 	http://localhost:8000/admin/core/operation/
Django Version: 	1.3.1
Exception Type: 	TypeError
Exception Value: 	

__init__() got an unexpected keyword argument &#039;field_path&#039;

Exception Location: 	/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/contrib/admin/filterspecs.py in create, line 39
Python Executable: 	/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Python Version: 	2.7.2

Can you help with any tip?</description>
		<content:encoded><![CDATA[<p>Hi! I&#8217;ve tried to implement your code using django 1.3.1 and it is not working. I did:</p>
<p>At my main class:</p>
<p>class Operation(models.Model):</p>
<p>    date = models.DateTimeField(default=datetime.now, verbose_name=&#8217;Data&#8217;)<br />
    date.date_filter = True<br />
    value = models.IntegerField(verbose_name=&#8217;Volume&#8217;, default=0)<br />
    product = models.ForeignKey(Product, verbose_name=&#8217;Produto&#8217;)</p>
<p>    class Meta:<br />
        verbose_name = &#8216;Operação&#8217;<br />
        verbose_name_plural = &#8216;Operações&#8217;</p>
<p>    class Admin:<br />
        list_filter = ['date']</p>
<p>and at admin.py I did:</p>
<p>class OperationAdmin(admin.ModelAdmin):</p>
<p>    list_display = (&#8216;type_operation&#8217;, &#8216;product&#8217;,'date&#8217;,'value&#8217;,'status&#8217;)<br />
    list_filter = (&#8216;type_operation&#8217;, &#8216;status&#8217;,'date&#8217;)</p>
<p>    search_fields = ['product__name']</p>
<p>And I got the follow error:</p>
<p>TypeError at /admin/core/operation/</p>
<p>__init__() got an unexpected keyword argument &#8216;field_path&#8217;</p>
<p>Request Method: 	GET<br />
Request URL: 	<a target="_blank" rel="nofollow" href="https://coolchevy.org.ua/goto/http://localhost:8000/admin/core/operation/"  rel="nofollow">http://localhost:8000/admin/core/operation/</a><br />
Django Version: 	1.3.1<br />
Exception Type: 	TypeError<br />
Exception Value: 	</p>
<p>__init__() got an unexpected keyword argument &#8216;field_path&#8217;</p>
<p>Exception Location: 	/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/contrib/admin/filterspecs.py in create, line 39<br />
Python Executable: 	/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python<br />
Python Version: 	2.7.2</p>
<p>Can you help with any tip?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Коментарі до vsftpd /bin/false check_shell=NO pam hack від Vitalii Kulchevych</title>
		<link>https://coolchevy.org.ua/2010/05/11/vsftpd-binfalse-check_shellno-pam-hack/comment-page-1/#comment-2697</link>
		<dc:creator>Vitalii Kulchevych</dc:creator>
		<pubDate>Sat, 03 Dec 2011 16:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.coolchevy.org.ua/?p=520#comment-2697</guid>
		<description>hjhj</description>
		<content:encoded><![CDATA[<p>hjhj</p>
]]></content:encoded>
	</item>
	<item>
		<title>Коментарі до vsftpd /bin/false check_shell=NO pam hack від Анонімний</title>
		<link>https://coolchevy.org.ua/2010/05/11/vsftpd-binfalse-check_shellno-pam-hack/comment-page-1/#comment-2696</link>
		<dc:creator>Анонімний</dc:creator>
		<pubDate>Thu, 01 Dec 2011 10:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.coolchevy.org.ua/?p=520#comment-2696</guid>
		<description>This is not secure way)</description>
		<content:encoded><![CDATA[<p>This is not secure way)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Коментарі до vsftpd /bin/false check_shell=NO pam hack від cephuo</title>
		<link>https://coolchevy.org.ua/2010/05/11/vsftpd-binfalse-check_shellno-pam-hack/comment-page-1/#comment-2695</link>
		<dc:creator>cephuo</dc:creator>
		<pubDate>Thu, 01 Dec 2011 10:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.coolchevy.org.ua/?p=520#comment-2695</guid>
		<description>This also can be done via adding a “fake” shell
Edit the /etc/shells file and add a non-existent shell name like /bin/false, for example. This fake shell will limit access on the system for FTP users.

sudo joe /etc/shells

# /etc/shells: valid login shells
/bin/sh
/bin/bash
/bin/false

/bin/false is our added no-existent shell. With Red Hat Linux, a special device name /dev/null exists for purposes such as these.

Source: http://cviorel.easyblog.ro/2009/03/05/how-to-setup-vsftpd-ftp-on-ubuntu-linux/</description>
		<content:encoded><![CDATA[<p>This also can be done via adding a “fake” shell<br />
Edit the /etc/shells file and add a non-existent shell name like /bin/false, for example. This fake shell will limit access on the system for FTP users.</p>
<p>sudo joe /etc/shells</p>
<p># /etc/shells: valid login shells<br />
/bin/sh<br />
/bin/bash<br />
/bin/false</p>
<p>/bin/false is our added no-existent shell. With Red Hat Linux, a special device name /dev/null exists for purposes such as these.</p>
<p>Source: <a target="_blank" rel="nofollow" href="https://coolchevy.org.ua/goto/http://cviorel.easyblog.ro/2009/03/05/how-to-setup-vsftpd-ftp-on-ubuntu-linux/"  rel="nofollow">http://cviorel.easyblog.ro/2009/03/05/how-to-setup-vsftpd-ftp-on-ubuntu-linux/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

