Re: Query parameters for receiving post

2013-10-09 Thread Denis Chernoshchekov
ok, i understand, i minute. 2013/10/9 Denis Chernoshchekov > *fld_name = 'nationality_in' *must be with double '_'* **fld_name = > 'nationality__in'* > > > 2013/10/9 Denis Chernoshchekov > >> Sorry, i don't understand you... You can

Re: Query parameters for receiving post

2013-10-09 Thread Denis Chernoshchekov
try this solution http://plnkr.co/edit/cyM6AmZcyFVUU6soFKhB 2013/10/9 Denis Chernoshchekov > ok, i understand, i minute. > > > 2013/10/9 Denis Chernoshchekov > >> *fld_name = 'nationality_in' *must be with double '_'* **fld_name = >> 'natio

Re: Query parameters for receiving post

2013-10-09 Thread Denis Chernoshchekov
Your right... I can't testing now. 2013/10/9 Hélio Miranda > gives error: > 'BaseList' object has no attribute 'values' > > The query has to be the same as I stated it works: > * > Player.objects.filter(country__in=Country.objects.filter(nationality__in=Nationality.objects.filter(name='Espanhol

Less files not compressed on production

2014-09-25 Thread Denis Simonet
the correct template is being used. The generated CSS file does not contain the contents of custom.less, though. To mention it again: With DEBUG mode on, everything works perfectly. Does anyone know, why this could happen? Thank you in advance! Kind regards, Denis -- You received this message bec

Compress does not include less files correcty

2014-09-25 Thread Denis Simonet
correct template is being used. The generated CSS file does not contain the contents of custom.less, though. To mention it again: With DEBUG mode on, everything works perfectly. Does anyone know, why this could happen? Thank you in advance! Kind regards, Denis -- You received this message bec

Re: Compress does not include less files correcty

2014-09-25 Thread Denis Simonet
x27;, 'lessc {infile} {outfile}'), ) lessc likes our less code more and it works! Am Donnerstag, 25. September 2014 16:23:36 UTC+2 schrieb Denis Simonet: > > Hi, > > We intend to extend openstack's Horizon, which is a Django application. > The first goal: add some custom

Re: How to find the word 'python' in string 'pythonpythonpythonpyth'?

2014-11-05 Thread Denis Darii
Vitaly feel free to look on https://www.python.org/ for a solution to your issue and please keep only django related questions in this "Django users" group. Thank you. Denis. On 5 November 2014 12:41, Віталій Лисенко wrote: > Sorry. I asked the question incorrectly. > E

Re: django 1.4 : gunicorn can't find static files. settings option

2014-01-05 Thread Denis Cornehl
> To unsubscribe 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. > To view this di

Re: wait message

2014-01-05 Thread Denis Chernoshchekov
Try using Ajax. 2014/1/5 fabricio > I am needing to display a wait message while processing perform some > process on the server anyone could help me > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and s

Re: Commercial Django e-commerce products

2014-01-29 Thread Denis Cornehl
gt; To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/52E8BC2C.40708%40mweb.co.za. > > For more options, visit https://groups.google.com/groups/opt_out. > -- Freundliche Grüße Denis Cornehl Simon-Dach-Str. 7 / 10245 Berlin M: +49 (151) 25 25

Working with HstoreField in django tests

2016-05-15 Thread Denis Boyarkin
I'm using HstoreField in one of my models and when I try to test it I got an error psycopg2.ProgrammingError: ERROR: function hstore(integer[], text[]) does not exist. If I understand this problem correctly it happend because hstore extension wasn't setup in database as it was did in migratio

Re: Working with HstoreField in django tests

2016-05-15 Thread Denis Boyarkin
Yes, It helped, thank you. If you're on Stackowerflow you can answer this question:this question <http://stackoverflow.com/questions/37200489/working-with-hstorefield-in-django-tests> . понедельник, 16 мая 2016 г., 9:22:50 UTC+8 пользователь Simon Charette написал: > > Hi De

iregex doesn't work properly

2016-08-27 Thread Denis Yu
Hi, Someone please, help to resolve my problem with iregex ! using Django 1.9 mysql Server version: 5.7.13-0ubuntu0.16.04.2 (Ubuntu) python 2.7 I got the record in mysql in table Order_process: +-+--+---+-+--++ | id | step

Re: iregex doesn't work properly

2016-08-27 Thread Denis Yu
16 г., 19:28:18 UTC+6 пользователь Sergiy Khohlov написал: > > Try to check this via mysql shell. It will be nice to know codepage at > system, database and django project. Have you checked this with Latin > charset already ? > > 27 серп. 2016 16:06 "Denis Yu" > пише: >

Re: iregex doesn't work properly

2016-08-28 Thread Denis Yu
sql from mysql :SELECT id from Order_process WHERE > step_description REGEXP BINARY '^заказ роутера%'; > > > Why are you not using raw string in your regex ? > > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > >

Re: iregex doesn't work properly

2016-08-30 Thread Denis Yu
`__count` FROM `clients_order_process` > WHERE (`clients_order_process`.`step` = 1 AND > `clients_order_process`.`step_description` REGEXP '^заказ роутер.$')" > informs that django sends data correctly. > > Many thanks, > > Serge > > > +380 636150445 >

Re: iregex doesn't work properly

2016-08-30 Thread Denis Yu
Sergiy Khohlov написал: > > You are making me confused. > 1) Django send data to db and SQL is correct > 2) MySQL returns correct result > 3) Django shows right data > > Which one step has issue ? > > Many thanks, > > Serge > > > +380 636150445 > sky

Re: iregex doesn't work properly

2016-08-30 Thread Denis Yu
tep_description` REGEXP '^заказ роутер.$' > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > On Tue, Aug 30, 2016 at 11:58 AM, Denis Yu > wrote: > >> >> sorry, may be I explained the result of testing incorrectly( >>

Finally stable release of Django JET - responsive and fresh admin interface

2016-08-30 Thread Denis Kildishev
Finally stable release of Django JET - responsive and fresh admin interface http://jet.geex-arts.com/ -- 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

How do I model a 'paper object' that should have reviewers?

2017-07-05 Thread Denis Cosmin
er_letter = models.FileField(upload_to=user_id_path, blank=False, validators=[validate_file]) supplementary_materials = models.FileField(upload_to=user_id_path, blank=True, null=True, default=None, validators=[validate_file]) class Meta: ordering = ('-created',) def get

How can create multiple Model objects at the same time from the same form?

2017-07-10 Thread Denis Cosmin
I have a form Author that contains the field first_name, last_name, and email. I want to be able to create 1-10 of them at the same time. How may I do that? I only need help in creating the form and the view. -- Sincerely, Denis Nutiu -- You received this message because you are subscribed

Re: staticfiles ManifestStaticFilesStorage and Form Media

2015-12-06 Thread Denis Cornehl
Hi Brian, a sidenote, this will be fixed: https://github.com/django/django/pull/5571 -- Denis Am Sonntag, 6. Dezember 2015 um 17:17 schrieb Brian Neal: > I'm investigating using staticfiles ManifestStaticFilesStorage. Unless I'm > missing something, there seems to be a

Re:

2016-02-03 Thread Denis Bellavance
dn't be logging this anymore), and see if it help... (verbosity=0) On Wednesday, February 3, 2016 at 6:34:47 AM UTC-8, Sergiy Khohlov wrote: > > Hello Denis, > > This issue is not related to the django-require. Look like you have > two files (with same name ) at t

Re:

2016-02-03 Thread Denis Bellavance
this issue on Heroku too... Thanks On Wednesday, February 3, 2016 at 10:36:01 PM UTC-8, Denis Bellavance wrote: > > Hi, > > The "remote: Found another file with the destination path" is not > actually an error, I actually have thousands of those and it is normal. >

Re: CommonMiddleware ETag processing doesn't work as expected

2016-02-26 Thread Denis Cornehl
Hi Oleksiy, what version of Django are you using? There was a bug: https://code.djangoproject.com/ticket/26024 fixed here https://github.com/django/django/commit/186b6c61bfe85afa4d6bf213d04a28dd2853fed2 which was released in Django 1.9.2 -- Freundliche Grüße Denis Cornehl Sonntagstr

Model or Form class

2016-03-10 Thread Denis Makarov
Hello guys! In whitch cases need to use models.Model class and in whitch forms.Form? Don't understand it readed the documentation. -- 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

Re: Model or Form class

2016-03-11 Thread Denis Makarov
You mean, that I must use Models.Model for database and Forms for creating forms both? пятница, 11 марта 2016 г., 7:06:01 UTC+3 пользователь bob gailer написал: > > > On Mar 10, 2016 9:01 PM, "Denis Makarov" > wrote: > > > > Hello guys! In whitch cases need

Re: Model or Form class

2016-03-11 Thread Denis Makarov
I read this, but in tutorial not used forms.Form class. I know how created forms on models.Model and forms.Form. But when I must use first and when second? суббота, 12 марта 2016 г., 0:56:34 UTC+3 пользователь James Schneider написал: > > On Mar 10, 2016 9:01 PM, "Denis Maka

Redefine html properties in widget

2016-03-31 Thread Denis Makarov
Hello! I have my own ModelForm with widgets in Meta class. class Meta: model = Foods fields = '__all__' widgets = { 'quantity': NumberInput(attrs={'min': 1, 'max': 10, 'name': "quantity2"}), 'comment': TextInput(), } My quantity field have NumberInput as standard. I want to re

Re: Redefine html properties in widget

2016-04-01 Thread Denis Makarov
x27;, 'Qty'), ('Kilo', 'Kg.'), ('Litr', 'L.')), default='Item') comment = models.TextField(blank=True) to_ods = models.BooleanField(default=False) to_email = models.BooleanField(default=False) foodlist = models.ManyToManyField('

Re: Redefine html properties in widget

2016-04-01 Thread Denis Makarov
class FoodForm(ModelForm): class Meta: model = Foods fields = '__all__' widgets = { 'quantity': NumberInput(attrs={'min': 1}), 'comment': TextInput(), } пятница, 1 апреля 2016 г., 11:47:33 UTC+3 пользователь Denis Makaro

Multiple values to Django

2016-04-02 Thread Denis Makarov
Hello! I have a MyForm which have name, quantity and quandesc fields. I have a basic UI form for adding this fileld. I added button for adding another instances of field on web page. Jquery func below: function addContainer() { $("#name").clone().appendTo("#food-container"); $("#quantit

I cant figure out this error

2021-03-12 Thread Denis Prosser
nvironment: Request Method: GET Request URL: http://127.0.0.1:8000/polls/ Django Version: 3.1.7 Python Version: 3.9.0 Installed Applications: ['polls.apps.PollsConfig', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.m

<    1   2