Re: how to develop cms on django

2010-07-19 Thread Dmitry Dulepov
s. You simply can't do that in a short time frame with am unknown technology. Forget it. This is a planned failure. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this message because you are subscribed to the Google Groups "Djan

Re: Debugging Django under wsgi and pydev

2010-07-07 Thread Dmitry Dulepov
oogle to run apache > httpd -x which I'd take as being a first step towards it but not the > actual solution. Works ok for me. Follow pydev's information about using the debugger. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this m

Re: Django Sphinx or haystack Xapian

2010-06-24 Thread Dmitry Dulepov
index my forums. 2 minutes of Sphinx indexing is just nothing compared to others. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Cannot import a module when deployed in Apache WSGI

2010-06-17 Thread Dmitry Dulepov
ally, your 'site-packed' should in Python path, not its subdirectories. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

Re: how to use render_to_response, ajax and javascript variables

2010-06-17 Thread Dmitry Dulepov
Hi! Matt Hoskins wrote: > return HttpResponse(simplejson.dumps(data),mimetype='text/plain) Small correction: mime type should be application/json. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this message because you are subscri

Re: Selling Django

2010-06-17 Thread Dmitry Dulepov
n". These all are different things, they are not comparable. Thus you cannot sell one thing as another. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Multiple AJAX sends within a views.py-function

2010-06-12 Thread Dmitry Dulepov
er way to achieve your real goal? What is your original task? Why data prepration takes so long? May be you can optimize it with indexes? -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this message because you are subscribed to the Google G

Re: error : python manage.py shell

2010-06-12 Thread Dmitry Dulepov
Hi! Jagdeep Singh Malhi wrote: > IndentationError: unindent does not match any outer indentation level You need to learn Python :) Indentation matters in Python. If previous lines of your file use spaces and this line uses tabs, you'll get a wrong indentation error. -- Dmitry Dulepov Twit

Re: Generate thumbnails from videos

2010-06-09 Thread Dmitry Dulepov
o take the thumbnail... -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.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

Re: Django/MySQL trailing spaces bug?

2010-06-08 Thread Dmitry Dulepov
he behaviour of > /iexact/ certainly looks inconsistent as it is *more* exact than > /exact/ but on balance it appears that /exact/ is not doing the right > thing here? If you want space to take part in comparison, use char fields instead of varchar. See: http://dev.mysql.com/doc/refman/5.0/en/

Re: django + ajax

2010-06-07 Thread Dmitry Dulepov
Hi! tazimk wrote: > Also how should I implement the same thing using jquery library ? This may help: http://www.google.com/search?=django+jquery+ajax -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this message because you are subscri

Re: Django is not work Error :Message

2010-06-07 Thread Dmitry Dulepov
ngs.py. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.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 g

Re: How to share a session with a php application.

2010-06-07 Thread Dmitry Dulepov
d from the PHP session. You can also search or create a PHP session serializer that writes to the database. Then you can read from the database in your Django app. I would go this way as it makes less hacking than accessing session files. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web

Re: How to share a session with a php application.

2010-06-06 Thread Dmitry Dulepov
jor security issue. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.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 unsub

Re: Django + Ajax + Jquery

2010-06-06 Thread Dmitry Dulepov
Hi! tazimk wrote: > I want to use ajax in my templates using jquery. > Can someone provide me some sample examples /links related to > this. http://www.google.com/ may be? The question is too broad. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-du

Re: Directory structuring

2010-06-06 Thread Dmitry Dulepov
ags/branches/trunk? Subversion documentation has a lot of examples and tells how to use tags and branches. Please, check that. There is too much information to post it here. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this message

Re: How to use Django with Apache and mod_wsgi

2010-06-04 Thread Dmitry Dulepov
d mod_wsgi": http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/ -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: *Immediate* session expiration problem/bug in IE

2010-06-04 Thread Dmitry Dulepov
d something to cookies to make MSIE happy. I do not remember exactly what it is. There is a Microsoft Knowledge Base article about it. Google for it, may be it helps. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this message because you

Re: Directory structuring

2010-06-04 Thread Dmitry Dulepov
iles in production unconditionally. Apache will not see these changes until you restart it (or touch wsgi file), so you have time to fix any conflicts. But if you force overwrite, you should not have any conflicts. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.c

Re: Filtering

2010-06-03 Thread Dmitry Dulepov
r that returns only available users''' def get_query_set(self): query_set = super(TYPO3UserManager, self).get_query_set() return query_set.exclude(models.Q(disabled = 1) | models.Q(deleted = 1)) class TYPO3User ... objects = TYPO3UserManager() -- Dmitry Dulepov Twitter: ht

Re: utf8-problems

2010-06-03 Thread Dmitry Dulepov
e character sets in MySQL and conversion to each of them happens at certain points at a time during processing. > Can I fix it using a config entry in django? I don't think you can fix it with a setting but I can be mistaken here. The best is to use the same settings for all hosts. I keep everything

Re: utf8-problems

2010-06-03 Thread Dmitry Dulepov
systems: show variables like 'character_set_%' I would also check character sets in "show create table" in both environments. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this message because you are subscribed to the Goog

Re: Establish "reverse relationships" between models?

2010-06-03 Thread Dmitry Dulepov
known relationship to Alarm. class Alarm(models.Model): ... building = models.ForeignKey(Building, related_name = 'alarm') ... You need to name it properly, that's all. -- Dmitry Dulepov Twitter: http://twitter.com/dmitryd/ Web: http://dmitry-dulepov.com/ -- You received this