Re: DatabaseRouter, add on runtime add new items to db.connections

2020-09-15 Thread Anton Melser
There appear to be relatively few references to this sort of thing peppered about the net, like this ancient stackoverflow post https://stackoverflow.com/questions/6585373/django-multiple-and-dynamic-databases, the below email, or the now long abandoned db router mentioned below. Is there a

Re: Django Uploaded images not displayed in production

2020-06-21 Thread Anton Nyagolov
So guys I have found the problem. My Nginx server was only serving static files but not media ones, I have probably forgot about it. My Nginx settings were: The only thing I had to do is add a location for the media folder: @MUGOYA DIHFAHSIH At the begging of setting the server I also used apa

Re: Django Uploaded images not displayed in production

2020-06-21 Thread Anton Nyagolov
Thanks I will check out the group too for future reference and etc. Those images are uploaded to a database and are part of a model. I iterate through all the object and for each object I print some information including the images, therefore I cannot specify only one specific image. I use admi

Django Uploaded images not displayed in production

2020-06-21 Thread Anton Nyagolov
Hello everyone, I just discovered this group through Google.I couldn't get any help on stack overflow and hopefully someone here can help. I have deployed a Django App on a Ubuntu server for the first time using Nginx and gunicorn. Before deployment, I used port 8000 to test if everything runs

Best option for wrapping a wsgi app

2019-02-19 Thread Anton Melser
ly using a fork but the project appears completely dead. What are other people using, if anything? Cheers, Anton -- echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc This will help you for 99.9% of your problems ... -- You received this message because you are subscribed

Re: Messages rejected?

2019-02-13 Thread Anton Melser
9 at 9:56:26 PM UTC-5, Anton Melser wrote: >> >> Hi, >> I asked a question last night with a Google for business account and had >> the message bounce - is that normal? >> >> Google also hasn't kept the message anywhere so it's completely lost :(. >

Re: Keeping/accessing the data Django generates during a test run

2019-02-13 Thread Anton Melser
> > When you use django unittests commit is made as no-op. Use --keepdb and at > the end of your tests run SQL commit against your database cursor > connection. > Awesome, exactly the info I was missing. Thanks for your help. Cheers, Anton -- You received this message because you

Keeping/accessing the data Django generates during a test run

2019-02-12 Thread Anton Melser
al. I could add file writes about the place to persist, but I want to evolve the test data over time and will need to do this often, so being able to do that from the DB would be very handy. Any pointers? Thanks, Anton -- You received this message because you are subscribed to the Google G

Messages rejected?

2019-02-12 Thread Anton Melser
Hi, I asked a question last night with a Google for business account and had the message bounce - is that normal? Google also hasn't kept the message anywhere so it's completely lost :(. Anton ps. Also posted to see whether this will also bounce... -- You received this message b

How to operate with two models in one view

2018-05-15 Thread Anton Smirnov
There are two models "Sensors" with information about them 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 __s

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 __str__

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 - https:/

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" gro

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] admin.site.register

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

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) -

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) ob

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

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 to

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 subcomma

Best way to switch from mysql to postgres?

2016-05-11 Thread anton
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 because y

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 &g

djangoproject.com https access problems

2015-02-27 Thread anton
k, 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

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

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 gr

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. Some

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 rar

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

2014-09-24 Thread anton
g mode so I can trace through 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/) &g

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

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

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

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 "

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. >

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

2014-04-14 Thread anton
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-10 Thread anton
Russell Keith-Magee wrote: > On Wed, Apr 9, 2014 at 1:09 AM, anton 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 >> - flup for fc

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

2014-04-08 Thread anton
or will this functionality 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+u

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 fr

Fixture extraction

2013-11-14 Thread Anton Pirker
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

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

2013-10-08 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 cou

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 reco

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 start

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 investiga

CMS base to start with?

2013-09-27 Thread Anton Melser
up saying "why the #!@& did I start with X" in 12 months 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 receivin

Re: django1.5 - url resolver vs i18n_patterns : wrong behaviour

2013-08-23 Thread uniqe . klmov . anton
For those who also suffers: yes its a bug. https://code.djangoproject.com/ticket/17734 it was fixed in 1.6b2 вторник, 4 июня 2013 г., 13:23:23 UTC+4 пользователь Ivan Tatarchuk написал: > > When I using i18n_patterns in my project urls.py I have strange behaviour > of url resolver: > expected b

Django Meeting in Vienna, Austria!

2013-08-22 Thread Anton Pirker
big talks 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(

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

Re: Right way to modify contrib auth package?

2013-05-02 Thread Anton Baklanov
be from this group and stop receiving emails 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 http

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 yoursel

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

Django IO exceptions through times

2013-04-15 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 project

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

2013-03-05 Thread Anton
sion 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 Te

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 Br

Impossible? Django with NTLM SSO auth on windows?

2013-02-25 Thread Anton
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: 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 mo

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: 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

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, but I > would prefer

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 wrote: > Hi. I've just checked - it uses __unicode__() to display

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

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 wrote: > it to submit forms with ajax, to not reload entire page every time. > -- Regards, Anton Baklanov -- You received this message because you are subscribed to the Google

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, sen

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 many attempts to generate a unique ID?

2012-09-09 Thread Anton Popovine
n.org/library/uuid.html > > On Sun, Sep 9, 2012 at 8:10 PM, Anton Popovine > > > 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'. >> &

How many attempts to generate a unique ID?

2012-09-09 Thread Anton Popovine
.objects.filter(code=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 v

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

2012-08-27 Thread Anton Baklanov
sg/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?hl=en

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

2012-08-27 Thread Anton Baklanov
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 more options, vi

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 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? > -- Regards, Anton Baklanov

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 wrote: > Hi Melvyn! > > Just tested it on dummy project, and you are right - django itself does > not do anythi

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

2012-08-20 Thread Anton Baklanov
ces now. Thanks! On Mon, Aug 20, 2012 at 12:01 PM, Melvyn Sopacua 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 su

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? --

Re: login or login_decorator issue

2012-08-08 Thread Anton Baklanov
visit >> https://groups.google.com/d/msg/django-users/-/oPmX_2NBchQJ. >> >> 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

Re: login or login_decorator issue

2012-08-08 Thread Anton Baklanov
rom 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 Baklanov -- You received this message because you are subscribed to the Google Groups

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

2012-08-04 Thread Anton Baklanov
sit > https://groups.google.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 > ht

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

2012-08-03 Thread Anton
mebody 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 t

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

2012-08-01 Thread Anton Baklanov
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.com/group/django-users?hl=

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

2012-07-31 Thread Anton Baklanov
o-users/-/GkiNhsL225kJ. > 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. > -- Rega

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

Re: Django-utils @async decorator and gunicorn

2011-06-28 Thread Anton Pirker
ging the @async with @queue_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://cel

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 this

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 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 daemon? Ah! There is a

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&

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

Re: Our new startup site build on Django and GAE is now live!

2011-06-03 Thread Anton de Winter
If you use something like Firebug you can remove the blur layer and have a look around (it's the actual site behind the blur). In Chrome it detected my location just fine and showed relevant content. It didn't appear to need any info from Facebook to function properly. On Fri, Jun 3, 2011 at 3:5

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 wrote: > Hi! > > I have created templatetag (used Django 1.2.3) in templatetags/ > board.py file. I need import form class from application. &

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 th

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 thi

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 2) I have created Form method clean_phones() for check all values is valid 3) in views.py I have get field contents, split it by comma and delete all non-numbers. In

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

2010-09-22 Thread Anton Danilchenko
/ > > 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 create new mes

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

2010-09-21 Thread Anton Danilchenko
t; 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 < > > > > > > anton.dani

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 wrote: > I describe my task more reallistical. > > This is application for rent an apartment. User can create ne

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

2010-09-21 Thread Anton Danilchenko
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
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 ne

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 t

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

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

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

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 (e

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-

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: 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: > > reques

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.

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 subscri

  1   2   >