object.create speed, creating 3 objects takes 1 sec in sqlite

2012-08-03 Thread Anton
ebody give me a hint? Is there a doc page dedicated to speed/performance issues?? Otherwise I have to look for an other system. Thanks Anton -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

howto Single Sign-On with django on windows

2012-11-17 Thread Anton
t explorer: to check that he is john and authenticated (without to need the knowledge of his windows password)? Any hint would be helpful :-) Anton -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Impossible? Django with NTLM SSO auth on windows?

2013-02-25 Thread Anton
aps php for windows or whatever. I love Django & python, but I am here in a dead end. Is there somebody using this scenarion (which is quit common in big companies)? Thanks. Anton -- You received this message because you are subscribed to the Google Groups "Django users" group. To un

Re: Impossible? Django with NTLM SSO auth on windows?

2013-03-04 Thread Anton
@Branko, no...I didn't think about Kerberos, I only realised in the last day that Ad use this system which I don't know either) Do you know some tutorial/howto describing this SSO with Django/apache on windows? Or I am the only one on this planet with this ides? Thanks Anton Branko Majic

Re: Impossible? Django with NTLM SSO auth on windows?

2013-03-05 Thread Anton
ion of mod_ntlm for Apache-2.0" but on the other side mod_auth_sspi seems to be dead too, so actually I am still not sure if its possible, if you don't want to use pure Microsoft technologies (like asp.net IIS server & other tools from ms) I am looking .. Bye anton Andre Terra wrote:

django & wsgi: what is the preferred webserver?

2010-03-07 Thread anton
you propose to use: - apache + mod_wsgi - or lighttpd + ?? Anton -- 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-

djangoproject.com https access problems

2015-02-27 Thread anton
, is there anything special with https://www.djangoproject.com ? All the time I had no problems. Anton -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to dj

Re: djangoproject.com https access problems

2015-02-28 Thread anton
OK, I will do that, because even IE 11 doesn't work (by the way I use FF 36.0 on Win7 64bit). Anton James Schneider wrote: > The proxy is likely forcing a TLS fallback in a way that Firefox doesn't > like. Ensure you are using the latest version of FF, but even then, unless > you hav

Question about Django & Msyql-python for windows

2014-02-08 Thread anton
django & mysql on *windows* or are there alternatives - is mysql support on windows a bit deprecated? Thanks anton -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

recommended fcgi way for django 1.6 on windows? Problems with https

2014-04-08 Thread anton
nality be integrated in django 1.7 (would be nice). Thanks anton -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegro

Re: recommended fcgi way for django 1.6 on windows? Problems with https

2014-04-10 Thread anton
Russell Keith-Magee wrote: > On Wed, Apr 9, 2014 at 1:09 AM, anton <anto...@gmx.de> wrote: > >> Hi , >> >> I use: >> - windows 7 64 bit >> - python 2.7.6 (32bit) >> - apache 2.4.9 (32bit vc9 build from apachelounge) >> - django 1.6.2 >

Re: recommended fcgi way for django 1.6 on windows? Problems with https

2014-04-14 Thread anton
, if there are different apps hosted. Perhaps I find a solution .. :-( Anton -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-user

Re: recommended fcgi way for django 1.6 on windows? Problems with https

2014-04-15 Thread anton
outdated somewhere) But you are right nginx is nice too Anton Andre Terra wrote: > I've used nginx in windows with great results. In fact, I even compiled it > on cygwin with additional modules (namely, to track large file uploads) > and everything worked smoothly. >

What is *the* django 1.7 IDE which is opensource & multiplattform

2014-09-24 Thread anton
and django templates, only python) Now the question: does somebody know a solution? Thanks Anton -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: What is *the* django 1.7 IDE which is opensource & multiplattform

2014-09-24 Thread anton
e a look ... but I do not see django & django template support. But thanks anyway Anton > 2014-09-24 4:36 GMT-05:00 anton <anto...@gmx.de>: > >> Hi, >> >> actually I use Aptana Studio 3.4.1 (http://www.aptana.com/) >> to develop Django apps (on Wind

Re: What is *the* django 1.7 IDE which is opensource & multiplattform

2014-09-24 Thread anton
ough my code as you'd > expect), so as long as I restarted that after making changes, things > were fine. > > On Wed, 2014-09-24 at 11:36 +0200, anton wrote: > >> Hi, >> >> actually I use Aptana Studio 3.4.1 (http://www.aptana.com/) >> to develop Django apps

Re: What is *the* django 1.7 IDE which is opensource & multiplattform

2014-09-24 Thread anton
Wellington Cordeiro wrote: > If you're doing serious development $70 for a very extensible editor is I know this very well, but with my question I wanted to find out if there is an open source solution. Anton > chump change. IDE's are in my opinion too much for Django and rarely do

Best way to switch from mysql to postgres?

2016-05-11 Thread anton
ile (the empty postgres is already prepared) 3. commandline:> manage.py loaddata dumpdata.json Unfortunately it runs into an error. Before I put here all the details, first one question: Is this way supposed to work? Or how would you do it? Thanks Anton -- You received this message becau

django-admin commands, diango 1.10 with python 2 & python 3 on windows installed

2016-09-26 Thread anton
python 3.5 without the need to use "py -3"? Or is a simultanuously installation of python 2 and python 3 on windows a no-go? Thanks for a hint Anton -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gro

Howto to create custom admin commands with subcommands

2016-09-19 Thread anton
Hi, is there an possibility to use https://docs.python.org/3/library/argparse.html#sub-commands in the custom admin commands so I can have subcommands like manage.py mycommand subcommand1 choice1-for-subcommand1 manage.py mycommand subcommand1 choice2-for-subcommand1 manage.py mycommand

how to set mysql collation in django?

2007-11-07 Thread Anton Daneika
hello all, i need something like TEST_DATABASE_COLLATION, but in a normal django code -- not in the tests. i am running the same script in two environments: as a part of unit test and on it's own and get different results. i suspect the reason for getting different results is django's way of

Re: Taconite + jquery + Django

2007-11-10 Thread Anton Daneika
thanks, this is indeed some useful new info for me, any following examples would be much appreciated. On Nov 8, 2007 6:52 PM, Brian Costlow <[EMAIL PROTECTED]> wrote: > > Just thought I'd pass this along. I've been lurking about learning as > I work on a couple of Django-based projects, and

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

Re: How to organize a django website

2008-02-06 Thread Anton Kovalyov
project I am involved in. Anton --~--~-~--~~~---~--~~ 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

Re: Working with a Custom, Dynamic Form (using BaseForm)

2012-07-31 Thread Anton Baklanov
is 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. > -- Regards, Anton Bakla

Re: combobox prepopulated to only related objects to "self"

2012-08-01 Thread Anton Baklanov
tps://groups.google.com/d/msg/django-users/-/d3UpfhONEWwJ. > 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

Re: Working with a Custom, Dynamic Form (using BaseForm)

2012-08-04 Thread Anton Baklanov
gle.com/d/msg/django-users/-/JMg7nHwI44sJ. > > 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/gro

Re: login or login_decorator issue

2012-08-08 Thread Anton Baklanov
p, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Regards, Anton Baklanov -- You received this message because you are subscribed to the Google Groups "Django users"

Re: login or login_decorator issue

2012-08-08 Thread Anton Baklanov
J. >> >> 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?

skip fixtures loading on 'manage.py test myapp'

2012-08-19 Thread Anton Baklanov
Hi! When I'm running 'manage.py test myapp' it loads all fixtures that are in 'myapp/fixtures' directory. And what I want is to find a way to tell django skip this fixtures and instead load some other ones or maybe no fixtures at all for certain tests. Is it possible? -- Regards, Anton Baklanov

Re: skip fixtures loading on 'manage.py test myapp'

2012-08-20 Thread Anton Baklanov
, Aug 20, 2012 at 12:01 PM, Melvyn Sopacua <m.r.sopa...@gmail.com>wrote: > On 19-8-2012 19:05, Anton Baklanov wrote: > > > When I'm running 'manage.py test myapp' it loads all fixtures that are in > > 'myapp/fixtures' directory. > > Are you sure about that? I think it

Re: skip fixtures loading on 'manage.py test myapp'

2012-08-20 Thread Anton Baklanov
and, if anyone is interested, here is the answer - http://south.readthedocs.org/en/latest/settings.html#south-tests-migrate On Mon, Aug 20, 2012 at 7:36 PM, Anton Baklanov <antonbakla...@gmail.com>wrote: > Hi Melvyn! > > Just tested it on dummy project, and you are right - dja

Re: skip fixtures loading on 'manage.py test myapp'

2012-08-22 Thread Anton Baklanov
exactly On Wed, Aug 22, 2012 at 2:24 AM, Karen Tracey <kmtra...@gmail.com> wrote: > That link doesn't really explain why south would be loading fixtures that > Django itself wouldn't ordinarily load. Unless...do you have migrations > that are loading fixtures? > -- Regar

Re: Django development running on 127.0.0.1:8000 not accessible from same machine

2012-08-27 Thread Anton Baklanov
" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/EZzlz6iQOGoJ. > 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 mor

Re: Django development running on 127.0.0.1:8000 not accessible from same machine

2012-08-27 Thread Anton Baklanov
/msg/django-users/-/EZzlz6iQOGoJ. > 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?

How many attempts to generate a unique ID?

2012-09-09 Thread Anton Popovine
=temp).exists(): res = temp break if res : break return res How much would you set the attempts variable to and why? Thanks in advance Anton -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion

Re: How many attempts to generate a unique ID?

2012-09-09 Thread Anton Popovine
uid.html > > On Sun, Sep 9, 2012 at 8:10 PM, Anton Popovine > <anton.p...@gmail.com > > wrote: > >> Hi everyone! First time posting to this group! >> >> I have a model Class where each row has a unique alphanumeric ID string >> like 'EX39H'. >> &

Re: Best free web hosting portal

2012-09-10 Thread Anton Popovine
Hello, http://www.appfog.com/ came out of closed beta recently. They support python and django. You get quite alot for free. (2Gb ram, unlimited # of instances, 10 services) Anton On Monday, September 10, 2012 10:51:07 AM UTC+2, Somnath wrote: > > Hello friends, > >

Re: How to implement a form to update the quantity?

2012-10-01 Thread Anton Baklanov
support for it out of the box https://docs.djangoproject.com/en/dev/topics/db/models/#extra-fields-on-many-to-many-relationships -- Regards, Anton Baklanov -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: How to implement a form to update the quantity?

2012-10-01 Thread Anton Baklanov
it *is good idea* to submit... missed some words, lol On Mon, Oct 1, 2012 at 9:52 PM, Anton Baklanov <antonbakla...@gmail.com>wrote: > it to submit forms with ajax, to not reload entire page every time. > -- Regards, Anton Baklanov -- You received this message because you ar

Re: django 1.6.0: admin pages not using unicode methods declared in my model

2012-11-26 Thread Anton Baklanov
No need for that. I've reproduced your problem. With python 3 __unicode__ method is ignored. We should search for corresponding ticket on trac, or create new one. On Mon, Nov 26, 2012 at 6:31 PM, Anton Baklanov <antonbakla...@gmail.com>wrote: > Hi. I've just checked - it uses __

Re: django 1.6.0: admin pages not using unicode methods declared in my model

2012-11-26 Thread Anton Baklanov
__str__ method works fine with python 3. i will continue searching the truth here and will create ticket (if it will be required after finding truth) thanks On Mon, Nov 26, 2012 at 6:56 PM, ajendrex wrote: > Yes, I'm using python 3. I think there is no ticket for this yet,

Re: django 1.6.0: admin pages not using unicode methods declared in my model

2012-11-26 Thread Anton Baklanov
Hi. I've just checked - it uses __unicode__() to display object names. Please show us your full admin.py and models.py -- Regards, Anton Baklanov -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: django 1.6.0: admin pages not using unicode methods declared in my model

2012-11-27 Thread Anton Baklanov
Hi Héctor. check this out https://docs.djangoproject.com/en/dev//topics/python3/#str-and-unicode-methods -- Regards, Anton Baklanov -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: What exactly does order_with_respect_to do?

2013-01-24 Thread Anton Agestam
Thanks for the correction, found this thread when Googleing for an explanation. On Tuesday, December 15, 2009 5:28:10 PM UTC+1, smcoll wrote: > > This is probably a dead thread, but... i think the answer given is > incorrect. > > 'order_with_respect_to' adds an '_order' integer field to the

Django IO exceptions through times

2013-04-16 Thread Anton Parkhomenko
Hi. I have a strange problem with Django. It raise exceptions like TemplateDoesNotExist or ImportError, while actually files and modules are exists and have proper rights. This error appears not everytime, but in ~1/20 cases (not regular), thus I thought about to blame my VDS, but other

Re: Django IO exceptions through times

2013-04-16 Thread Anton Parkhomenko
UPD. I found that on TemplateDoesNotExist Django notice me that templates are actually exists <http://pastebin.com/fgd0vRdv> (3rd and 29th strings). But why they didn't not loaded? On Tuesday, April 16, 2013 2:51:18 PM UTC+8, Anton Parkhomenko wrote: > > Hi. > I have a

Re:

2013-04-16 Thread Anton Parkhomenko
Actually, I don't think that any of Django-based CMS' (mezzazine, django-cms or feincms) is something like drupal or wordpress. Anyway you need to know django or python at some level, because there isn't plenty of ready-to-use themes and plugins. You always need to develop some parts by

Re: Right way to modify contrib auth package?

2013-05-02 Thread Anton Baklanov
s from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. >

Freelance Django Developer needed!

2011-10-11 Thread Anton Pirker
html templates in django We think the project will take about 8-12 weeks, starting November 1th. If you are interested, send your CV, a "why i am the best for the job"-letter and your rates to: development [at] creativesociety [dot] com Thanks, Anton -- You received this messa

Django-utils @async decorator and gunicorn

2011-06-27 Thread Anton Pirker
have to configure djutils or gunicorn in a special way so i can run function asynchronous? Any hints are greatly appreciated! Thank's Anton [1] http://charlesleifer.com/docs/djutils/ -- DI(FH) Anton Pirker - IGNAZ Softwaremanufaktur mobile . web

Django-utils @async decorator and gunicorn

2011-06-27 Thread Anton Pirker
have to configure djutils or gunicorn in a special way so i can run function asynchronous? Any hints are greatly appreciated! Thank's Anton [1] http://charlesleifer.com/docs/djutils/ -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: Django-utils @async decorator and gunicorn

2011-06-28 Thread Anton Pirker
Hi! On 06/27/2011 03:47 PM, Javier Guerra Giraldez wrote: On Mon, Jun 27, 2011 at 4:50 AM, Anton Pirker<an...@ignaz.at> wrote: But when i run my django app under gunicorn and i call the function with the @async decorator nothing happens at all... are you running the queue consumer

Re: Help

2011-06-28 Thread Anton Pirker
/topics/http/file-uploads/ Regards, Anton -- DI(FH) Anton Pirker - IGNAZ Softwaremanufaktur mobile . web . usability . project management kranzgasse 2/15 a-1150 wien tel: +43 699 1234 0 456 skype: antonpirker http://ignaz.at -- You received

Re: Django-utils @async decorator and gunicorn

2011-06-28 Thread Anton Pirker
ue_command (found in djutils.queue.decorators) i have tried this, but it resulted in an strange error. i think i will skip the asynchronous stuff from djutils. tomorrow i will install celery [1] and try my luck with that. :) thanks for your help, Anton [1] http://celeryproject.org/ -- DI

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

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

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

ManyToManyField to Phones model for enter phones manually (not select from list)

2010-09-21 Thread Anton Danilchenko
Hi all! Please, help me undestand, how to solve next task. I am show for user form with two fields: user name and text field, where user input list of phones, separated by comma. User sholud enter one or more phones separated by comma. If user enter not valid number - we show error message like

Re: ManyToManyField to Phones model for enter phones manually (not select from list)

2010-09-21 Thread Anton Danilchenko
In my case, I have Users with equal phone numbers. And I need only ManyToMany relationship. I need create custom field for get information from CharFiels, validate this data, clean and save to datastore in separate model. If this phone already exists - we get ID of this phone. And, if this is a

Re: ManyToManyField to Phones model for enter phones manually (not select from list)

2010-09-21 Thread Anton Danilchenko
> > It sounds to me like your trying to make this way more difficult than it > needs to be. > > Also it sounds to me like your trying to assign the same phone number to > multiple people. (which is fine) But doesn't make a lot of sense to me in a > practical application. > >

Re: ManyToManyField to Phones model for enter phones manually (not select from list)

2010-09-21 Thread Anton Danilchenko
Also I need get list of all phones as with many-to-many relationship: m = Message.objects.get(1) for phone in m.phones: ptint phone On 21 сен, 20:15, Anton Danilchenko <anton.danilche...@gmail.com> wrote: > I describe my task more reallistical. > > This is application for re

Re: ManyToManyField to Phones model for enter phones manually (not select from list)

2010-09-21 Thread Anton Danilchenko
Multiple > Phone Numbers. > > This message is then checked to see if the phone numbers associated to it > have been black listed... > And then finally deliver the message? > > n > > On Tue, Sep 21, 2010 at 12:15 PM, Anton Danilchenko < > > >

Re: ManyToManyField to Phones model for enter phones manually (not select from list)

2010-09-22 Thread Anton Danilchenko
ms/validation/ > > On Tue, Sep 21, 2010 at 1:50 PM, Anton Danilchenko < > > > > > > anton.danilche...@gmail.com> wrote: > > Message - this is a rental proposition (rooms, floor, cost, area, > > country, cirty and contact phones). > > > Visitors can c

Re: ManyToManyField to Phones model for enter phones manually (not select from list)

2010-09-22 Thread Anton Danilchenko
Now I have next solution (but still need your help). 1) I have added to my form custom field CharField for render field as input

Re: ManyToManyField to Phones model for enter phones manually (not select from list)

2010-09-22 Thread Anton Danilchenko
Ihave found solution. I have changed only Form class: 1) added field for show text input field phones = forms.CharField() 2) I have create in my Form instance method clear_phones() where I check phones and save it all to database and get Phone model ids for this phone numbers. And return

Include form in template tag

2010-09-23 Thread Anton Danilchenko
Hi! I have created templatetag (used Django 1.2.3) in templatetags/ board.py file. I need import form class from application. Structure of project is: + board/ +++ views.py +++ forms.py +++ templatetags/ + board.py + ... some other project applications ... How can I do import of form from

Re: Include form in template tag

2010-09-23 Thread Anton Danilchenko
In my case this work well: from ..forms import MessageSearchForm Maybe we have other solution for this? On 23 сен, 16:46, Anton Danilchenko <anton.danilche...@gmail.com> wrote: > Hi! > > I have created templatetag (used Django 1.2.3) in templatetags/ > board.py file. I need

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

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"

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

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

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

can't figure out how to call a generic view inside my own view

2006-12-06 Thread Anton Daneika
Hello, everyone. I am trying to call django.views.generic.list_detail.object_list from my own view, but I get the error page saying "dict' object has no attribute '_clone'" Here is the function: def my_gallery_listing(request, gallery_id): d = dict(queryset=Photo.objects.filter(gallery__pk =

is there a way to combine generic views?

2006-12-07 Thread Anton Daneika
. I suppose it's just not the use case of the generic views -- they are not for this. Anton --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

cyrillic text garbled if used as question in polls example

2006-12-09 Thread Anton Daneika
Hello, django users. I tried entering a Cyrillic text for the poll question attribute, while playing with example polls application. This resulted in a bunch of question marks on the view page, instead of the expected "Как дела?" poll question, which was in Cyrillic. My firefox character encoding

Re: cyrillic text garbled if used as question in polls example

2006-12-11 Thread Anton Daneika
On 12/11/06, Georgi Stanojevski <[EMAIL PROTECTED]> wrote: > > > Anton Daneika напиша: > > > playing with example polls application. This resulted in a bunch of > question > > marks on the view page, instead of the expected "Как дела?" poll > quest

Re: cyrillic text garbled if used as question in polls example

2006-12-11 Thread Anton Daneika
Thank you for support :) It helps to keep myself up. On 12/11/06, Gábor Farkas <[EMAIL PROTECTED]> wrote: > > > Anton Daneika wrote: > > Well, I tried this conf modification. > > Before it I could do > > mysql> insert into polls_poll (`question`, `pub_date`) v

Re: cyrillic text garbled if used as question in polls example

2006-12-21 Thread Anton Daneika
well at last the problem is solved. i was up to dig into the od'ing everything on my way, but decided to try to mess with MySQL and it helped. 1. at first i did what Georgi Stanojevski suggested: To get mysql client in the console working with utf-8 (doesn't have anything to do with Django) I

Multiple types of users

2007-03-26 Thread Anton Stonor
* Admins It would be nice if I could model these use types as different user models, but a hack could of cause be to have one large profile and hide different fields according to the user type. Ideas are welcome. /Anton --~--~-~--~~~---~--~~ You received this message

Re: javascript options

2006-08-15 Thread Anton Visser
The Yahoo User Interface library is rather cool and gets a great plug in this article. http://www.b-list.org/weblog/2006/08/05/django-tips-simple-ajax-example-part-2 cheers, Anton a wrote: > guys i m trying to figure out which javascript toolkit to use > > i m now trying to figure

django.views.decorators.http.condition decorator

2014-10-17 Thread Anton Novosyolov
I have a question about this part: elif (not if_none_match and request.method == "GET" and res_last_modified > and if_modified_since and res_last_modified <= if_modified_since): > response = HttpResponseNotModified() If I don't use etag, and request method is HEAD then 200 is returned.

Re: django.views.decorators.http.condition decorator

2014-10-20 Thread Anton Novosyolov
Opened, https://code.djangoproject.com/ticket/23695 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this

Release announcements?

2015-02-18 Thread Anton Melser
Hi, I have started a new project on 1.8 and am looking for an RSS or mailing list that has release announcements for Django proper - is there anything? My understanding was that the first Beta was supposed to come out on the 16 Feb, is that right? Thanks! Anton -- You received this message

Can't run manage.py runserver (Django 1.5.1)

2013-08-04 Thread Anton Yermolenko
Hi guys i'm new to python as well as django. Seeking help for this problem I have python 3.3 installed and django 1.5.1 on win 7 so when i run manage.py runserver i got this error message c:\mysite>python manage.py runserver Validating models... 0 errors found August 04, 2013 - 18:51:37 Django

Django Meeting in Vienna, Austria!

2013-08-22 Thread Anton Pirker
planned at the moment. At the meeting we can decide how the meetings should be in the future. Looking forward in meeting you! Bye, Anton 1: http://doodle.com/2hs77khscrkuc4ba 2: http://www.sektor5.at/ <http://doodle.com/2hs77khscrkuc4ba>-- DI(FH) Anton

CMS base to start with?

2013-09-27 Thread Anton Melser
s time... Any opinions or insults are most welcome! Thanks, Anton -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@g

Re: CMS base to start with?

2013-09-27 Thread Anton Melser
> Are you try with https://www.djangopackages.com/ ?? > The problem is the amount of choice. There seem to be many great packages there but I was hoping someone from the community with more intimate knowledge of what is there might be able to shed some light on the subject. >From my

Re: CMS base to start with?

2013-09-28 Thread Anton Melser
> > > Might be an idea to write a one page business plan. Amazing how quickly > it all becomes clear as soon as the business objectives are nailed down. > After that I would guess only one of those would stand out for you. > > We have a pretty solid business plan, or at least one that the

Re: CMS base to start with?

2013-09-28 Thread Anton Melser
> Hey Anton, > > From my experience if it's a 2 year project you're building don't use a > CMS. Start with a plain Django project and then add apps you need. All > these CMSs will just lock you in and become more of a hinderance then help. > > I also recommend building

Re: What is the right location for my django translation files?

2013-10-09 Thread Anton Melser
> > I'm giving my first steps with python/django/mezzanine so please bear with > me. > > I modified a translation file of the mezzanine's blog application and > compiled it OK. Mind you: I literally only modified a couple of words and > left the rest intact. > > The only place I found out I

Fixture extraction

2013-11-14 Thread Anton Pirker
in advance, Anton 1: https://www.djangopackages.com/grids/g/fixtures/ -- DI(FH) Anton Pirker - IGNAZ Softwaremanufaktur agile software development wurlitzergasse 58/20 a-1160 wien tel: +43 699 1234 0 456 skype: antonpirker http://anton-pirker.athttp

Bug in django admin: list_editable should be not editable if appear in readonly_fields

2014-05-03 Thread Anton Danilchenko
Hello dev team! I think that if some field set to *readonly_fields* than we should display disabled field in *list_editable*. Now I have set field "*price*" into *list_editable* and *readonly_fields*. And I see this field not editable in "change view" in admin panel, but I see it editable in

How to make properly choices based on two models?

2016-09-24 Thread Anton Ponomarenko
Hello. I want to let users to choose their countries. I have 2 models = *Countries* with some figures and *CountriesTranslations*. I am trying to make tuple with *country* (because user has FK to this model) and its *translation*. In front-end I see dropdown list of countries, but when I try

How to replace content_type and object_id fields by a field with actual object in admin inline?

2016-10-14 Thread Anton Ponomarenko
I have inline, which shows data of contenttype model, so instead of real objects, I see content_type and object_id fields. I can exclude these fields - this is not a problem, but also I want to get real current object as selected with other Places in a dropdown list. Could anyone tell me, how

How to add\get data in admin via reversed relation using GenericTabularInline?

2016-10-13 Thread Anton Ponomarenko
Hi all. I can add Criterias to a place. How can I add Places to a criteria? Models: class Criterias(models.Model): name = ... class Places(models.Model): name = ... class PlacesToCriterias(models.Model): content_type = models.ForeignKey(ContentType, on_delete=models.CASCADE)

Re: How to add\get data in admin via reversed relation using GenericTabularInline?

2016-10-13 Thread Anton Ponomarenko
It was quite easy. GenericTabularInline must be changed to admin.TabularInline class CriteriaPlacesInlineAdmin(admin.TabularInline): model = PlacesToCriterias class CriteriasAdmin(admin.ModelAdmin): inlines = [CriteriaPlacesInlineAdmin] admin.site.register(Criterias, CriteriasAdmin)

Re: How to replace content_type and object_id fields by a field with actual object in admin inline?

2016-10-14 Thread Anton Ponomarenko
Found solution. Add form to admin.TabularInline: class CriteriaPlacesInlineAdmin(admin.TabularInline): model = PlacesToCriterias form = CriteriaPlacesChoicesFieldForm # <- ADDED FORM class CriteriasAdmin(admin.ModelAdmin): inlines = [CriteriaPlacesInlineAdmin]

Re: How to add\get data in admin via reversed relation using GenericTabularInline?

2016-10-14 Thread Anton Ponomarenko
If anyone needs to get dropdown list with selected object, instead of content_type and object_id fields, the solution is here . -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Displaying single-line progress while a management command runs

2017-04-29 Thread Anton Samarchyan
> Makes it easy to display a command line progress bar but, again, I end up with loads of progress bars displaying in my test output, and I assume it'll do the same when scheduling the task to run You can try a module I made to avoid this particular issue in django management command -

How to operate with two models in one view?

2018-05-15 Thread Anton Smirnov
I have two models: "Sensors" with information about its and "Measurments" . class Sensor(models.Model): date_start = models.DateField() Latitude = models.DecimalField(max_digits=18, decimal_places=15) Longitude = models.DecimalField(max_digits=18, decimal_places=15) def

  1   2   >