Re: Spam filters for Django?

2010-09-04 Thread Anton Bessonov



the three most common ways are to only allow logged in users to post,
captchas or akismet or a combination of the three.
  

Sometimes Honey pot is very effective in combination with captcha.

--
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Мобильная версия

2010-08-29 Thread Anton Bessonov
Де факто - Вам не нужен полный список. Но если так хочется, то 
достаточно инициально поддерживать список самых распростанённых агентов 
и сделать ссылки "нормальная/мобильная версия". Каждый клик 
протоколировать и из этой информации модифицировать список.

Спасибо за перевод моего вопроса, но тут дело в том, что я уже видел
эту страницу, и список там далеко не полный, и тем более, список этот
постоянно пополняется, с выходом новых ОС для мобильников.
Как реализовать универсальный проверку? Создать свой словарь из кусков
возможных User Agent'ов без использования цифр версий ОС и тд и
проверять его вхождение в полученный User Agent зашедшего на сайт
пользователя?


  


--
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Install Django in a Production server!

2010-03-11 Thread Anton Bessonov
Using Django on Apache with mod_python in production - it's a bad idea! 
wsgi or fcgi is better start point.

http://docs.djangoproject.com/en/dev/howto/deployment/


Massimiliano Bertinetti schrieb:

If I understand, you want information about installing python/django in
a production enviroment (ex-novo).

I recently do this on a Linode Virtual Ubuntu Server and I think you can
do the same.

Here a tutorial: http://library.linode.com/web-frameworks/django

I'm not a Linode man! What you find on this tutorial you can apply on
other virtual / phisical server, but I found Linode a good choice for
me: http://www.swap-hq.com (only italian - sorry!!).

Max-B

Il giorno gio, 11/03/2010 alle 09.56 -0800, Tiago ha scritto:
  

I want to keep my dedicated server for my company, where can i find a
tutorial, the best choices for OS.

Thanks





  


--
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django IDE

2010-02-15 Thread Anton Bessonov

http://www.vim.org/

dj_vishal schrieb:

Hello

   Hi to all am new to the Django Framework.am learning django
   Which IDE is suitable for Django ..plz help me in right way

   Thanks in Advance
   vishal
   2009vis...@gmail.com
  


--
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Get name from request.path

2009-12-30 Thread Anton Bessonov
django.core.urlresolvers.resolve?


kelvan.mailingl...@gmail.com schrieb:
> request.META['HTTP_HOST'] just return the webadress from the server, I 
> need the name I gave an url un urls.py.
> Like reverse just the other way
>
> florian
>
> 2009/12/25 Shawn Milochik 
>
> Try this:
>
> request.META['HTTP_HOST']
>
> If not, check the docs for the request object:
>
> 
> http://docs.djangoproject.com/en/dev/ref/request-response/#httprequest-objects
> 
> 
>
> Shawn
>
> --
>
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com
> .
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en
> .
>
>
>

--

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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.




Re: Django editor for Debian

2009-12-16 Thread Anton Bessonov
Nano.

NMarcu schrieb:
> Hello all,
>
>Can you tell me a good Django editor for Debian? Something more
> pretty then default text editor. Something to can edit templates also.
> Thanks.
>
> --
>
> 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 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
>
>
>   

--

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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.




Re: Make the makemessages command more open

2009-12-14 Thread Anton Bessonov
Hi Kevin,
> I am using Jinja2 instead of the Django template system
>   
I'm too. Django Templates is really slow and unhandily.
> Would it be a good idea suggest this in a ticket?
>   
Yes. + create option "nocomments" because is bad to merge.

--

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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.




Re: Understanding "/admin/jsi18n/"

2009-10-08 Thread Anton Bessonov

http://www.google.com/search?q=django+jsi18n

LuisC schrieb:
> Hi!!!
> I am doing my fist appl and after some struggling I am using
>
> forms.DateField(widget=AdminDateWidget)
>
> in my view, and
>
> 
> 
> 
> 
> {{ form.media }}
>
> in my template...
>
> The calendar widget is working ok; but I do not know what jsi18n does
> and I am unable to find it any where in the system.  Also, I am not
> sure of the purpose of {{ form.media }}.
>
> I would apreciate some explanation on the subject
>
> Regards!!
> >
>
>   


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---