Re: Port large webapp from PHP to Django: tips, experiences, links needed

2009-01-22 Thread Webchemist
This is exactly my situation, when I started to work under drugme.ru - this is rather big Russian social network website, Berco Beute: > - Stack. What would currently be a good combination webserver/protocol/ > database? Possible options: Lighttpd, Cherokee, apache, FastCGI, > mod_python, wsgi,

Django 1.0 post_save signal has no attribute 'connect'?

2008-09-04 Thread Webchemist
Hi all! Trying the fallowing: from django.db.models import signals print dir(signals.post_save) gives: ['__class__', '__delattr__', '__doc__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__'] and print signals.post_save

Re: add RequestContext automatically to each render_to_response call

2008-03-10 Thread Webchemist
On 10 мар, 11:28, Julian <[EMAIL PROTECTED]> wrote: > hi, > > I've been writing a django-application and now I need the > RequestContext for some new features. I don't want to add > context_instance=RequestContext(request) to each render_to_response > call manually in my views.py. > > How can I

Re: Newforms-admin: filter_horizontal doesn't work

2008-03-10 Thread Webchemist
On 7 мар, 17:07, Brian Rosner <[EMAIL PROTECTED]> wrote: > > "Hold down "Control", or "Command" on a Mac, to select more than one." > > > and NO select boxes, search input etc! > > What revision of newforms-admin are you using? Also, what browser is > this behavior is displayed in? > > -- > Brian

Newforms-admin: filter_horizontal doesn't work

2008-03-06 Thread Webchemist
Could anybody please explain what are the reasons for filter_horizontal doesn't work in newforms-admin? in models.py for the app: class Block(models.Model): title = models.CharField(max_length=255) code = models.CharField(help_text=u"Допустимы цифры и латинские заглавные буквы", max_leng

Re: Newform-admin: problem with loading admin templates and templatetags

2007-12-27 Thread Webchemist
> Err, django.contrib.admin isn't in your INSTALLED_APPS. :) Ops... %) Thanks a lot! My mistake... That's the way unhealthy sensations crop up... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group

Re: Newform-admin: problem with loading admin templates and templatetags

2007-12-27 Thread Webchemist
On Dec 27, 11:34 am, Julien <[EMAIL PROTECTED]> wrote: > In urls.py, have you set it up properly: > > from django.conf.urls.defaults import * > from django.contrib import admin > > urlpatterns = patterns('', > ('^admin/(.*)', admin.site.root), > ) Naturally, yes! Otherwise admin application

Re: Newform-admin: problem with loading admin templates and templatetags

2007-12-27 Thread Webchemist
Jeremy, thanks to reply! > What you really want here is to have > 'django.template.loaders.app_directories.load_template_source' in your > TEMPLATE_LOADERS. That's really what you want, not add add the admin > templates to TEMPLATE_DIRS. This template loader was enabled of cause from the beginn

Newform-admin: problem with loading admin templates and templatetags

2007-12-26 Thread Webchemist
Hi, all! I am trying to switch to the new-form admin branch and created a simple project in test purposes. I installed 0.97-newforms-admin-SVN-6977 and created a test project. When trying to start at 127.0.0.1:8000/admin I got an error TemplateDoesNotExist at /admin/ admin/login.html Ok, I add t