Hi!
I implemented FilteredRawQuerySet which supports filter() and order_by()
like model manager QuerySet.
https://code.djangoproject.com/ticket/28087
https://github.com/Dmitri-Sintsov/django-jinja-knockout/blob/master/django_jinja_knockout/query.py
Internally it contains RawQuerySet and
make it cover even more of SQL's capabilities.
>
> On 20 April 2017 at 20:36, Dmitriy Sintsov <quest...@gmail.com
> > wrote:
>
>> Hi!
>> I implemented FilteredRawQuerySet which supports filter() and order_by()
>> like model manager QuerySet.
>>
>> ht
achieved with select_related
> <https://docs.djangoproject.com/en/1.11/ref/models/querysets/#select-related>
> .
>
> On 21 April 2017 at 09:47, Dmitriy Sintsov <quest...@gmail.com
> > wrote:
>
>> I know that it does not work in the general case, but still having
>>
mitriv,
>
> I think you're running into https://code.djangoproject.com/ticket/27332.
> Unfortunately this isn't fixed yet, but there's a pull request, so it
> might land in 2.0: https://github.com/django/django/pull/7560
>
> Ian
>
> On 21/04/17 19:41, Dmitriy Sints
erySet, please close my ticket.
> On 21/04/17 19:41, Dmitriy Sintsov wrote:
> > If I understand correctly, LEFT JOIN is automatically chosen when
> > ForeignKey(null=True) otherwise it will be INNER JOIN?
> >
> > My ProfileRequisites.profile ForeignKey is not nullable
вывода')
On Friday, April 21, 2017 at 7:55:31 PM UTC+3, Adam Johnson wrote:
>
> It depends upon whether the foreignkey/onetoonefield is nullable.
>
> On 21 April 2017 at 17:16, Dmitriy Sintsov <quest...@gmail.com
> > wrote:
>
>> How can I chose whether select_related
sp_user_profile"."education", "isp_user_profile"."resume",
"isp_user_profile"."rating", "isp_user_profile"."rating_reason",
"isp_user_profile"."accepted_license_id" FROM
"isp_finances_profilere
CSS variables are long time available at server-side via LESS / SASS
compilers. For example MediaWiki has built-in ResourceLoader that includes
LESS compiler and JS minifier. It uses caching to re-compile only when
source .less or .js are changed. Everything works even with IE8. But
MediaWiki
Microsoft probably will take Django support to the next level with Windows
Subsystem for Linux. It's still beta but a very promising one. Not only it
should make compiling Python module binaries (like lxml) much easier, it
also fixes binary / nix specific support of node.js / Ruby packages.
On
If you want to populate the data after migration is complete, several times
or each time, you may try to use post_migrate signal:
https://docs.djangoproject.com/en/1.11/ref/signals/#post-migrate
On Fri, Oct 20, 2017 at 6:44 AM, wrote:
>
Hi.
Client-side implementation of fields visual behavior and their validation
should be hooked up via document.ready custom JS scripts via form ID or
form class. There is no universal solution for that.
When using pure client-side forms from npm, it is possible to map these to
Django models
Hi!
Template languages are my favorite topic in programming.
If you implement html library yourself, it is much better to define tags
not as functions but as classes with base Tag class which has properties
for tag name, attributes and the nested list of tags. Such way you will
re-implement
.
Dmitriy
On Sat, Mar 17, 2018 at 12:12 PM, Manasvi Saxena <msmana...@gmail.com>
wrote:
> Hello sir,
>
>
> On Saturday, March 17, 2018 at 2:07:03 PM UTC+5:30, Dmitriy Sintsov wrote:
>>
>> Hi!
>>
>> Template languages are my favorite topic in programming.
&g
On Friday, January 25, 2019 at 3:35:40 PM UTC+3, mihir karbelkar wrote:
>
> Hi,
> I have made several projects with Django but every time I create a new
> project I have to initialize the repo for git. It would be better if the
> project initialized itself. Maybe we can add this feature in to
It would be nice to have paginated formsets when there are lots of one to
many relationships in the inline form, otherwise such rendered formset is
slow and huge.
On Tuesday, March 26, 2019 at 8:56:56 PM UTC+3, PARTH PATIL wrote:
>
> I was planning to do the "Formset Improvements
>
Speaking of Rails AJAX forms. It's quite trivial to submit Django ModelForm
in Javascript AJAX request. It's a bit harder to have the customizable
success action and to display the field validation errors via AJAX response.
I implemented AJAX viewmodels for that:
Very nice tuturials! Although there is web components standard gradually
being adapted by major browsers, which should bring custom tags /
components not having to use the third party Javascript libraries like Vue
or React. So, while in Python world the leadership of Django is quite
stable and
Why can't it use mixed quotes, single quotes for all strings except the
strings that contain single quote characters? I think mixed syntax of
strings is made in various programming languages so both single and double
quotes can be used inside strings not having to use ugly backslash
escaping.
There is one trouble: Webpack assumes it's own subtree of assets to
process, while Django loads assets from packages (Django apps) directories.
I still haven't seen a successful setup of webpack which would respect
loading assets from Django packages directories.
Another trouble, not everyone
19 matches
Mail list logo