how to create a function to login with user nam e. if user name and
password is already exist, but want to login with user for super user.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
Hello,
Sorry for the late reply.
I changed the models as below and added checkConstraint , But when I
migrate I get the below error.
What am I still doing wrong?
class Stock(models.Model):
quantity = models.PositiveIntegerField(default='0', blank=True,
null=True)
reorder_level = models.
hii
import pandas as pd
from django.contrib import messages
from django.core.mail import EmailMessage
from django.shortcuts import render
from django.template.loader import render_to_string
from app_1.form import NotificationForm
def email_generic_template(request):
form = NotificationForm(requ
I have this problem too
On Wed, Aug 24, 2022, 5:06 PM Mihir Patel wrote:
> i dont have much idea but try to do with True Or False value bcz maybe it
> returns boolean value.
>
> On Mon, Aug 22, 2022 at 12:27 PM Abhinandan K
> wrote:
>
>> Email
>>
>> {% with val_gen=datas.gender%}
>> {{val_gen}
Hello All,
Apologies if this is the wrong place to submit this. I couldn't find clear
enough documentation on where to do this, so I guess I ended up here.
I installed pywatchman along with FB's watchman expecting StatReloader to
change to WatchmnaReloader. Sadly, I was mistaken.
Python versio
On 31/08/2022 18.52, David V wrote:
Hello All,
Apologies if this is the wrong place to submit this. I couldn't find
clear enough documentation on where to do this, so I guess I ended up here.
Maybe open an issue on the issue tracker on github?
https://github.com/facebook/watchman
Kind reg
Does someone how to deploy a Django Project in AAPanel?
I tried Python Maganer 2.0 but impossible for me!
I get this error:
Sorry, something went wrong: Traceback (most recent call last): File
"class/flask_sockets.py", line 30, in *call* handler, values =
adapter.match() File
"/www/server/
I don't see any error. Did you forget to post it?
On August 31, 2022 5:57:32 AM CDT, tech george wrote:
>Hello,
>
>Sorry for the late reply.
>
>I changed the models as below and added checkConstraint , But when I
>migrate I get the below error.
>
>What am I still doing wrong?
>
>class Stock(model
I don't think you need that constraint after using the PositiveIntegerField
.
On Thu, 1 Sep 2022, 02:45 Ryan Nowakowski, wrote:
> I don't see any error. Did you forget to post it?
>
> On August 31, 2022 5:57:32 AM CDT, tech george
> wrote:
>>
>> Hello,
>>
>> Sorry for the late reply.
>>
>> I c
Hello,
Sorry the error is:
django.db.utils.IntegrityError: CHECK constraint failed: quantity
On Thu, Sep 1, 2022 at 3:45 AM Ryan Nowakowski wrote:
> I don't see any error. Did you forget to post it?
>
> On August 31, 2022 5:57:32 AM CDT, tech george
> wrote:
>>
>> Hello,
>>
>> Sorry for the
On 01/09/2022 02.10, Javier L. Camacaro wrote:
Does someone how to deploy a Django Project in AAPanel?
https://forum.aapanel.com/d/13338-python-manager-deploy-djangoblog
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Groups "Django
users"
I managed to remove the error,
I had a negative stock in my DB.
Thanks a lot for the help.
On that note, I was also trying to get the dispensed from stock
I was trying to do this but I don't think it can work since there is
already a foreign key at Dispense model fetching drug_id from stock.
W
12 matches
Mail list logo