Hey Guys I've been trying to figure out a way to authenticate an auto
generated user model and its impossible to do that unless the model has
permission mixins and abstractuser .So how can i still authenticate an
autogenerated user model without necessarily making migrations to that
database
from django.db import models
# Create your models here.
class Question(models.Model):
question_text = models.CharField(max_length = 500)
pub_date = models.DateTimeField(auto_now_add = True)
def __str__(self):
return self.question_text
class Choice(models.Model):
Hi all,
I was wondering about the technical reasons why deleting sliced querysets
is prohibited (the error thrown is Cannot use 'limit' or 'offset' with
delete()).
This makes it really complex when one wants to delete huge amounts of data
(think millions of rows): The only supported options
Ok. I solved the problem myself. The pre_save signal was changing my output
every time I used save() method.
W dniu śr., 18.01.2023 o 23:56 Artur Rączka
napisał(a):
> Hello guys,
>
> What am I missing or doing wrong?
>
> >>> dublin.price
> 40
> >>> dublin.price = 100
> >>> dublin.price
> 100
>
Hello guys,
What am I missing or doing wrong?
>>> dublin.price
40
>>> dublin.price = 100
>>> dublin.price
100
>>> dublin.save()
>>> dublin.price
40
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
Try using the inline argument --settings when executing runserver--(Unsigned
mail from my phone)
Original message From: Matteo Sani
Date: 12/11/22 05:38 (GMT+10:00) To: Django users
Subject: Possible bug in runserver Hello, I
wanted to run Django runserver with custom
Hello,
I wanted to run Django runserver with custom settings defined in
proj/mysettings.py. So I exported the env variable DJANGO_SETTINGS_MODULE
to point to the custom settings file and then I ran manage.py runserver …
The printout was showing that Django was still using the default
Is anybody know how to install CLI tool with brew in Django
--
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 view
On 12/07/2022 09.43, Abhinandan K wrote:
Is anybody know how to install CLI tool with brew in Django
Reading this would help:
http://www.catb.org/~esr/faqs/smart-questions.html
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Groups
Here you have an official document on how to create a formula(package
definition) https://docs.brew.sh/Formula-Cookbook
wtorek, 12 lipca 2022 o 10:36:48 UTC+2 abhin...@snakescript.com napisał(a):
> yes
>
> On Tue, Jul 12, 2022, 1:45 PM Mr.Teapot wrote:
>
>> Do you want to install this script
Do you want to install this script using brew?
wtorek, 12 lipca 2022 o 09:53:12 UTC+2 abhin...@snakescript.com napisał(a):
> # importing required modules
> import argparse
>
> # create a parser object
> parser = argparse.ArgumentParser(description = "An addition program")
>
> # add argument
>
# importing required modules
import argparse
# create a parser object
parser = argparse.ArgumentParser(description = "An addition program")
# add argument
parser.add_argument("add", nargs = '*', metavar = "num", type = int,
help = "All the numbers separated by spaces will be added.")
# parse
l 12, 2022 at 1:13 PM
> Subject: Fwd: Answer me as soon as possible?
> To:
>
>
>
>
> -- Forwarded message -
> From: Abhinandan K
> Date: Tue, Jul 12, 2022 at 1:02 PM
> Subject: Answer me as soon as possible?
> To:
>
>
> Is anybody kn
-- Forwarded message -
From: Abhinandan K
Date: Tue, Jul 12, 2022 at 1:13 PM
Subject: Fwd: Answer me as soon as possible?
To:
-- Forwarded message -
From: Abhinandan K
Date: Tue, Jul 12, 2022 at 1:02 PM
Subject: Answer me as soon as possible
-- Forwarded message -
From: Abhinandan K
Date: Tue, Jul 12, 2022 at 1:02 PM
Subject: Answer me as soon as possible?
To:
Is anybody know how to install CLI tool with brew in Django
--
You received this message because you are subscribed to the Google Groups
"Django
Hi,
I ran into an issue when querying using Q objects where I got some
behaviour which I didn't expect, and I'd like to get some input on whether
this behaviour is intended or not.
*Assume an app testcase with the following code in a models.py file:*
*from django.db import models*
*class
From: Antonis Christofides
<anto...@antonischristofides.com> Date: 15/4/22 01:26 (GMT+10:00) To:
django-users <django-users@googlegroups.com> Subject: Re: Possible Django Admin
or auth bug or Mozilla bug
I haven't tried it, but I have a few observations on your
t
I haven't tried it, but I have a few observations on your
template code. First, it would be better to use "{% static %}"
instead of hardcoding the url to the static files. Second, "{%
blcok extrastyle %}" is obviously wrong for this, it should be
extrajs.
On 14/04/2022 11:36 am, Mike Dewhirst wrote:
Thanks Antonis
OK - the problem has two workarounds. One is to use Chrome.
Two is https://code.djangoproject.com/ticket/33386 which suggests
including some javascript to disable Firefox autocomplete ...
$('form').attr('autocomplete',
Thanks Antonis
OK - the problem has two workarounds. One is to use Chrome.
Two is https://code.djangoproject.com/ticket/33386 which suggests
including some javascript to disable Firefox autocomplete ...
$('form').attr('autocomplete', 'off').each(function () {
this.reset();
});
...
It happens here as well as far as I can see (tested on a Debian 11 server
running Django 3.2.12).
The "Chosen groups" box seems to be created by JavaScript; if I run it with
JavaScript disabled then it doesn't exist. Apparently JavaScript creates the box
and then populates it and accordingly
I don't know how long this has been happening for me.
Happens on Windows 10 in Mozilla Firefox but not Chrome.
In the Admin User screen where there are two boxes of Groups labelled
'Available groups' and 'Chosen groups' with controls to move groups
between boxes, everything seems to work
Fantastic! But now I wonder why it's not working on some of your browsers
On Wednesday, September 22, 2021 at 4:18:14 AM UTC-4 nine...@gmail.com
wrote:
> Hi,
>
> Eureka!!!
> Benjamin, you are right. I changed my browser and it worked.
>
> Thank for you advice.
>
> Best wishes,
> Maria
>
> On
Hi,
Eureka!!!
Benjamin, you are right. I changed my browser and it worked.
Thank for you advice.
Best wishes,
Maria
On Tuesday, September 21, 2021 at 9:41:18 AM UTC+2 Mariangeles Mendoza
wrote:
> Thank you very much!!!
>
> I will try other browsers. I have used Firefox and Brave.
> No, I am
Thank you very much!!!
I will try other browsers. I have used Firefox and Brave.
No, I am not using other custom widget.
Thanks again,
Maria
On Monday, September 20, 2021 at 1:59:25 PM UTC+2 bnmng wrote:
> Hi. I don't see anything in your code samples that would cause this.
> One line in
Hi. I don't see anything in your code samples that would cause this. One
line in admin.py caused the server to stop because of the extra
parenthesis, and the default for status should be 'r' instead of
'refereed', but those don't cause the problem you're describing. Maybe a
browser issue?
Hi,
I'm very new in Django. I'm making a cv, but I don't get select a choice
through the django-admin web. I've searched solutions in the community but
I cant't solve it.
My code is:
*Models.py*
class Article(models.Model):
year = models.PositiveIntegerField(
I have found the right solution. Thanks
sebasti...@gmail.com schrieb am Do., 15. Apr.
2021, 18:07:
> Hello,
>
> i have following:
>
> models.py:
>
> from django.db import models
>
> class Tabs(models.Model):
> id = models.AutoField(primary_key=True)
> def __str__(self):
> return
Hello,
i have following:
models.py:
from django.db import models
class Tabs(models.Model):
id = models.AutoField(primary_key=True)
def __str__(self):
return self.name
class Box(models.Model):
id = models.AutoField(primary_key=True)
tabslink = models.ForeignKey(Tabs,
eryone,
>>>> I was wondering can anyone point me to a document describing how to
>>>> setup debugging using any IDE (VS Code, PyCharm, etc) or at least from
>>>> console when using Django with Apache and mod_wsgi? Or if it's not possible
>>>> please let me know
me to a document describing how to
>>> setup debugging using any IDE (VS Code, PyCharm, etc) or at least from
>>> console when using Django with Apache and mod_wsgi? Or if it's not possible
>>> please let me know so I don't waste any more time.
>>>
&
at least from console
> when using Django with Apache and mod_wsgi? Or if it's not possible please
> let me know so I don't waste any more time.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group
gt; I was wondering can anyone point me to a document describing how to setup
>> debugging using any IDE (VS Code, PyCharm, etc) or at least from console
>> when using Django with Apache and mod_wsgi? Or if it's not possible please
>> let me know so I don't waste any more time.
&
Hi everyone,
I was wondering can anyone point me to a document describing how to setup
debugging using any IDE (VS Code, PyCharm, etc) or at least from console
when using Django with Apache and mod_wsgi? Or if it's not possible please
let me know so I don't waste any more time.
Thanks
--
You
In the Django 2.2 Admin, the description in fieldsets is very useful for
providing advice to a user.
However, in one of my models there are now a couple of "states" in which
it could be and each really calls for a different piece of advice.
I know in ModelAdmin.fieldsets I can do
So, in my Project I have template that generates a lot of prcedual html
(for loop with about 150 entries at once) so cahcing that "snippet" is a
reasonable choice, but after activating caching for that project and this
template, I still got consistent long generation times, so I looked in the
On Sun, Dec 06, 2020 at 06:00:06PM -0800, Joel T wrote:
> I'm new here and have zero clues as to how to create a model with methods
> that can be overridden by each instance . i.e Each instance will provide
> its own methods that will be called when a certain event is triggered.
Hey Joel,
An
Yes it is possible to create a custom model a u have to do is override the
default django models
On Mon, Dec 7, 2020, 03:57 Joel T <7thog...@gmail.com> wrote:
> Hi everyone,
> I'm new here and have zero clues as to how to create a model with methods
> that can be overridden b
Hi everyone,
I'm new here and have zero clues as to how to create a model with methods
that can be overridden by each instance . i.e Each instance will provide
its own methods that will be called when a certain event is triggered.
--
You received this message because you are subscribed to the
you can use jquery to fetch api calls
On Wed, Nov 25, 2020 at 7:49 PM Aman Modi wrote:
>
>
> Hello Django lovers.
>
> I want to use REST API on Django template but i have no idea how can i do
> that.
> I want to use same API on android app and Django template.
>
> Any suggestion .
>
> Thanks
Hey,
Guess you are making some baseless assumptions about the so-called
templates... Can the original poster of the question please clarify what
you really meant before we get more and more confused?
K.S.
On Tue, 1 Dec 2020 at 10:03, Liu Zheng wrote:
> Hi,
>
> Guys earlier have provided
Hi,
Guys earlier have provided useful links for consuming APIs. Just want to
emphasize some concepts between server-side and client-side codes.
A django template is rendered into a page on the *server side*. That means,
the server does the work and prepares the html content before sending it to
Hi
find this link
https://github.com/sumasreeeduru/Textyfi
And go through "api" app , where you will find adding the api in easy way.
On Sunday, November 29, 2020 at 12:36:44 PM UTC+5:30 bharath...@gmail.com
wrote:
> Hi
> Use JavaScript or jQuery to call APIs in frontend of Django template.
Hi
Use JavaScript or jQuery to call APIs in frontend of Django template.
You can use fetch API using vanilla JavaScript.
You can perform all CRUD operations.
All the best
On Sun, 29 Nov 2020, 11:57 am Aman Modi, wrote:
> I know how to create API but i just want to know how to use in Django
>
I know how to create API but i just want to know how to use in Django
template.
On Wednesday, November 25, 2020 at 8:07:47 PM UTC+5:30 omkar...@gmail.com
wrote:
> Creating REST API in Django is similar to any app on Django. All you need
> to do is, install the djangorestframework library, and
Yes, it is possible. Below is the documentation. we will use serialization
to get a django rest API.
https://docs.djangoproject.com/en/3.1/topics/serialization/
On Wed, Nov 25, 2020 at 7:48 PM Aman Modi wrote:
>
>
> Hello Django lovers.
>
> I want to use REST API on Django temp
Maybe this article from JetBrains can help:
https://blog.jetbrains.com/pycharm/2017/01/webinar-adding-a-rest-api-to-a-django-application/
Hope that helps!
Cheers,
K.S.
On Thu, 26 Nov 2020 at 00:20, Farai M wrote:
> Very possible you can create urls for API with the rest framew
Very possible you can create urls for API with the rest framework then
create other urls for your templates .Just install the django rest
framework you are good to go.
On Wed, Nov 25, 2020, 4:18 PM Aman Modi wrote:
>
>
> Hello Django lovers.
>
> I want to use REST API on Django
Use ajax with django rest framework
On Wed, 25 Nov, 2020, 8:07 pm Omkar Parab, wrote:
> Creating REST API in Django is similar to any app on Django. All you need
> to do is, install the djangorestframework library, and serialize your
> models.
>
> YT video
> https://youtu.be/TmsD8QExZ84
> On
Creating REST API in Django is similar to any app on Django. All you need
to do is, install the djangorestframework library, and serialize your
models.
YT video
https://youtu.be/TmsD8QExZ84
On Wed, Nov 25, 2020, 7:48 PM Aman Modi wrote:
>
>
> Hello Django lovers.
>
> I want to use REST API
Hello Django lovers.
I want to use REST API on Django template but i have no idea how can i do
that.
I want to use same API on android app and Django template.
Any suggestion .
Thanks and regard
Aman Modi
--
You received this message because you are subscribed to the Google Groups
Check out this
https://django-simple-history.readthedocs.io/en/latest/
On Tue, 24 Nov 2020, 14:11 Sujata Aghor wrote:
> Hello Django lovers,
>
> I am looking for something to track the actions of all users on my website.
> The LogEntry class tracks additions, changes, and deletions of objects
>
Hey Sujata, I used this in my project, you can check it out here
http://static.phxfeeds.com/commonShare?originUrl=https%3A%2F%2Fpypi.org%2Fproject%2Fdjango-user-tracking%2F
On Tue, Nov 24, 2020, 12:11 PM Sujata Aghor wrote:
> Hello Django lovers,
>
> I am looking for something to track the
Hello Django lovers,
I am looking for something to track the actions of all users on my website.
The LogEntry class tracks additions, changes, and deletions of objects done
through the admin interface.
Can we track other users' actions also in LogEntry?
Any help is much appreciated.
Any
Hi,
Yesterday and today I implemented something and I had a surprise. I'm
explaining here with questions at the end but also in case that I might
save some time to someone working with forms (if someone is going to try
the same approach that I did and it doesn't work).
What I want to do: the
On Thursday, 4 June 2020 16:25:09 UTC+1, OwlHoot wrote:
>
>
> I believe the issue I have enquired about on the following Stack Exchange
> page :
>
>
> https://stackoverflow.com/questions/62162288/baffling-error-filtering-django-objects-of-derived-class-by-values-in-foreign-ke
>
By adding some
Remember you can not juat open/report an issue and bisect the git commit
which could have introduced the change in behavior, but also, if it gets
confirmed as a real bug, you can fix it yourself so to not delay yourself
in your current project. With the nice side effect that the fix will
benefit
Hi,
the code you posted on stackoverflow is not sufficient to reproduce the
problem. It would be good to provide a minimal reproducible example (see
also https://stackoverflow.com/help/minimal-reproducible-example).
Regards,
René
--
You received this message because you are subscribed to the
On Thursday, 4 June 2020 23:45:53 UTC+1, Tim Graham wrote:
You can try to find the commit that introduced the issue:
> https://docs.djangoproject.com/en/dev/internals/contributing/triaging-tickets/#bisecting-a-regression
>
I'm happy to try and do this, i.e. produce a simple test case that
You can try to find the commit that introduced the issue:
https://docs.djangoproject.com/en/dev/internals/contributing/triaging-tickets/#bisecting-a-regression
On Thursday, June 4, 2020 at 11:25:09 AM UTC-4, OwlHoot wrote:
>
> Hi all
>
> I believe the issue I have enquired about on the following
Hi all
I believe the issue I have enquired about on the following Stack Exchange
page :
https://stackoverflow.com/questions/62162288/baffling-error-filtering-django-objects-of-derived-class-by-values-in-foreign-ke
may well be a Django bug, or at the least no longer works with Django as
this
Thanks for the reply, my friend. Unfortunately, no new middleware has been
added. Some folks have said clearing the Django cache(s) worked, but it
hasn't for me.
I've long been a mod_wsgi user, but I think it is time to move on to
gunicorn, so I've started moving in that direction rather than
On Sat, May 16, 2020 at 12:06 PM Tim Allen
wrote:
> I posted this to Stack Overflow first, thinking it might be a problem with
> `mod_wsgi`, but people using Gunicorn have seen the issue too. Here's a
> link to the question on Stack Overflow:
>
>
>
I posted this to Stack Overflow first, thinking it might be a problem with
`mod_wsgi`, but people using Gunicorn have seen the issue too. Here's a
link to the question on Stack Overflow:
in.php,
>>> /favicon.co
>>>
>>>
>>> Please, what could be the problem?
>>>
>>>
>>>
>>>
>>>
>>> On Sun, 3 May 2020, 11:03 pm Motaz Hejaze, wrote:
>>>
>>>> I think you have a script somewhere
;> /favicon.co
>>
>>
>> Please, what could be the problem?
>>
>>
>>
>>
>>
>> On Sun, 3 May 2020, 11:03 pm Motaz Hejaze, wrote:
>>
>>> I think you have a script somewhere that calls this ip and main.php on
>>> that server ..
>
> Please, what could be the problem?
>
>
>
>
>
> On Sun, 3 May 2020, 11:03 pm Motaz Hejaze, wrote:
>
>> I think you have a script somewhere that calls this ip and main.php on
>> that server ..
>>
>> Do you add any third party addons both on fron
third party addons both on frontend and backend ??
>
>
> On Sun, 3 May 2020, 11:31 pm Miracle, wrote:
>
>> I think the possible attacker thinks I am using PHP
>>
>> On Sun, 3 May 2020, 10:29 pm Miracle, wrote:
>>
>>> I don't know honestly.
>>>
>&
I think you have a script somewhere that calls this ip and main.php on
that server ..
Do you add any third party addons both on frontend and backend ??
On Sun, 3 May 2020, 11:31 pm Miracle, wrote:
> I think the possible attacker thinks I am using PHP
>
> On Sun, 3 May 2020, 10:29 p
I think the possible attacker thinks I am using PHP
On Sun, 3 May 2020, 10:29 pm Miracle, wrote:
> I don't know honestly.
>
> I got those error messages because I included my email and username in
> settings.py like this
>
> ADMINS = ['username', 'collinsale...@gmail.com']
m Miracle, wrote:
>
>> Hello django developers,
>>
>> I might be experiencing a possible attack on my web server, but I am not
>> sure yet.
>> Below is the email I got from my django.
>> I've gotten over 50 similar emails over the past 3 days.
>>
>>
What is the script main.php ???
On Sun, 3 May 2020, 10:43 pm Miracle, wrote:
> Hello django developers,
>
> I might be experiencing a possible attack on my web server, but I am not
> sure yet.
> Below is the email I got from my django.
> I've gotten over 50 similar emails ov
Hello django developers,
I might be experiencing a possible attack on my web server, but I am not
sure yet.
Below is the email I got from my django.
I've gotten over 50 similar emails over the past 3 days.
Please, help me with this.
Invalid HTTP_HOST header: '35.192.28.182'. You may need
This is of course possible. If you look at the restframework examples you
can run it in a html browser that returns different values than the api
itself.
Regards,
Andréas
Den fre 20 mars 2020 kl 09:47 skrev Sai Sandeep Rayanuthala <
rayanutha...@gmail.com>:
> Yeah possible. Us
Yeah possible. Use content disposition.
On Thu, 19 Mar 2020, 13:01 Suraj Thapa FC, wrote:
> No
>
> On Thu, 19 Mar 2020, 10:53 am venna venkatReddy,
> wrote:
>
>> It is Possible to send html File through Django Rest API. I need how to
>> send Template/one.html fil
No
On Thu, 19 Mar 2020, 10:53 am venna venkatReddy,
wrote:
> It is Possible to send html File through Django Rest API. I need how to
> send Template/one.html file to Other Application when they hit my API.
>
> Please respond or suggest any url
>
> --
> You received thi
It is Possible to send html File through Django Rest API. I need how to
send Template/one.html file to Other Application when they hit my API.
Please respond or suggest any url
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To u
universe of the solutions there
is a better way to organize things.
What I trying is to check if it is possible to use the same concepts
implemented in Odoo ORM (https://github.com/odoo/odoo). I want to migrate
from Odoo to Django due to the first has some limitations.
On Saturday, February 29,
y, 28 February 2020 18:20:12 UTC+5:30, Ol P wrote:
>>>>
>>>> But how to add fields to it?
>>>>
>>>> Where to put what:
>>>> from appA import model1
>>>>
>>>>
>>>> class ExtendedModel1(?):
>>>> ?
import model1
>>>
>>>
>>> class ExtendedModel1(?):
>>> ?
>>>
>>> new_field = models.CharFiled()
>>>
>>> class Meta:
>>>?
>>>
>>>
>>> On Friday, February 28, 2020 at 2:23:1
ten in *model-B* to implement it?
>
> In other words, is it possible to implement the same-table extension?
>
--
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
ote:
>>>
>>> But how to add fields to it?
>>>
>>> Where to put what:
>>> from appA import model1
>>>
>>>
>>> class ExtendedModel1(?):
>>> ?
>>>
>>> new_field = models.CharFiled()
>>>
>&g
;
>> But how to add fields to it?
>>
>> Where to put what:
>> from appA import model1
>>
>>
>> class ExtendedModel1(?):
>> ?
>>
>> new_field = models.CharFiled()
>>
>> class Meta:
>>?
>>
>>
>
fields to it?
>
> Where to put what:
> from appA import model1
>
>
> class ExtendedModel1(?):
> ?
>
> new_field = models.CharFiled()
>
> class Meta:
>?
>
>
> On Friday, February 28, 2020 at 2:23:17 PM UTC+2, Naveen Arora wrote:
>>
>
But how to add fields to it?
Where to put what:
from appA import model1
class ExtendedModel1(?):
?
new_field = models.CharFiled()
class Meta:
?
On Friday, February 28, 2020 at 2:23:17 PM UTC+2, Naveen Arora wrote:
>
> Clearly Possible,
> Simply import the mo
Clearly Possible,
Simply import the model first using appname.models. Hope it helps:)
You can use this as
from appA import model1
in app2
On Thursday, 27 February 2020 22:04:12 UTC+5:30, Ol P wrote:
>
> Imagen we have *app-A* and *app-B* with *model-A* and *model-B*
> accordingly.
>
This is definitely not correct implementation. Only for illustration
purposes.
On Thursday, February 27, 2020 at 7:55:51 PM UTC+2, One Above All wrote:
>
> It is indeed possible, but I am not sure whether it should be done this
> way.
>
> On Thu, Feb 27, 2020 at 11:04 PM Ol P
It is indeed possible, but I am not sure whether it should be done this
way.
On Thu, Feb 27, 2020 at 11:04 PM Ol P wrote:
> I try to figure out if it possible to implement the next scenario:
>
> garage (app-A)
> models
>class Vehicle(models.Model)
> vin=models.CharF
I am not sure if this is the right way.
On Thu, Feb 27, 2020 at 11:24 PM One Above All <
the.one.above.all.ti...@gmail.com> wrote:
> It is indeed possible, but I am not sure whether it should be done this
> way.
>
> On Thu, Feb 27, 2020 at 11:04 PM Ol P wrote:
>
&
I try to figure out if it possible to implement the next scenario:
garage (app-A)
models
class Vehicle(models.Model)
vin=models.CharField(max_length=50)
...
def import_data(self):
...
# import vehicals
external integration (app-B)
models
class
t;>> Imagen we have *app-A* and *app-B* with *model-A* and *model-B*
>>> accordingly.
>>> And we want to extend *model-A* in *app-B*.
>>> What should be written in *model-B* to implement it?
>>>
>>> In other words, is it possible to implement the s
in app-B?
>
> On Fri, Feb 28, 2020 at 12:33 AM Ol P > wrote:
>
>> Imagen we have *app-A* and *app-B* with *model-A* and *model-B*
>> accordingly.
>> And we want to extend *model-A* in *app-B*.
>> What should be written in *model-B* to implement it?
>>
>> I
d be written in *model-B* to implement it?
>
> In other words, is it possible to implement the same-table extension?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receivin
Imagen we have *app-A* and *app-B* with *model-A* and *model-B* accordingly.
And we want to extend *model-A* in *app-B*.
What should be written in *model-B* to implement it?
In other words, is it possible to implement the same-table extension?
--
You received this message because you
Hello,
Today for my project I tried to find a solution for an issue with duplicate
assets. Combining several approaches I managed to build an app to solve it.
While debugging the app, I think, I found a bug in Media class.
File *django/forms/widgets.py*
@html_safe
class Media:
def
Hi Nikolas,,
Thank you for the inquiry.
I am interested in discussing the role with you. I am, however, currently
in India and plan to be back in the bay area in around 2 weeks. At that
time, l'll touch base with you and with your self willingly, move forward.
Else, we can always do a
str(aggregated.query)
>
>
> )
>
>
> This works perfectly when pasted into my database SQL. I could do this in
> Python/Django using .raw() but the documentation says to ask here before
> using .raw() as mostly anything could be acomplished with the ORM.
>
> Yet, I don't se
_crashes") FROM (
>
>
> // String from Python
> str(aggregated.query)
>
>
> )
>
>
> This works perfectly when pasted into my database SQL. I could do this in
> Python/Django using .raw() but the documentation says to ask here before
> using .raw() as mostly
into my database SQL. I could do this in
Python/Django using .raw() but the documentation says to ask here before
using .raw() as mostly anything could be acomplished with the ORM.
Yet, I don't see how. Once I call .union on 2 querysets, I cannot aggregate
further.
aggregated.union(ag).annotate(cc=Su
Thanks, Nikolas Stevenson-Molnar.
I don't have update resume yet so please go best representing my profile
here,
https://www.linkedin.com/in/ronakjainpython/
Thanks & Regards
Ronak Jain
On Fri, Jul 26, 2019 at 7:50 AM Nikolas Stevenson-Molnar <
nik.mol...@consbio.org> wrote:
> The
1 - 100 of 1093 matches
Mail list logo