Send the screenshot of your wsgi.py file
On Tuesday, 4 August 2020 05:47:29 UTC+1, Phan Nguyen wrote:
>
>
>
> On Tuesday, August 4, 2020 at 11:42:32 AM UTC+7, Phan Nguyen wrote:
>>
>> *So I was be able to work with Django very well the past weeks. But
>> certainly, I manually moved a 'src' folde
On Tuesday, August 4, 2020 at 11:42:32 AM UTC+7, Phan Nguyen wrote:
>
> *So I was be able to work with Django very well the past weeks. But
> certainly, I manually moved a 'src' folder(contain manage.py) which is
> originally in a Dev folder, to another folder where I write all the code of
> h
Was looking at this link
https://www.geeksforgeeks.org/python-subprocess-module-to-execute-programs-written-in-different-languages/
and
am trying to translate it into Django.
Upon form submission from index.html in templates, I want to call the view
function to run HelloWorld.java (in same dir
Hi,
I have tried a number of ways to do this but I cannot get Foreign Keys to
work with non-pk values. I keep getting a int type when trying to import a
charfield, 'MotorMakeName' even though this is the type of field upon which
the foreign key is connected. I've included the additional ids I us
Alright, Nice to know.
Cheers.
On Mon, Aug 3, 2020 at 7:12 PM Christian Seberino
wrote:
> I figured out the problem...If you only want the "global" errors to show
> up at the top of the form
> then you need to use {{form.non_field_errors}} instead of {{form.errors}}.
>
>
> --
> You received thi
I figured out the problem...If you only want the "global" errors to show up
at the top of the form
then you need to use {{form.non_field_errors}} instead of {{form.errors}}.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from t
oba
Thanks. Here are all the files you asked for...
=
forms.py:
=
class AppointmentForm(django.forms.Form):
customer = django.forms.IntegerField()
year
You're welcome.
On Mon, Aug 3, 2020 at 5:54 PM jose ivan perez diaz <
joseivanperezdi...@gmail.com> wrote:
> Thanks for your advice
>
> Sent from my iPhone
>
> On 3/08/2020, at 4:07 AM, Yemin Sajid wrote:
>
>
> On idea could be serializing the context and setting as in a global `var`
> in java
Try to use django *safe *filter to render this as html.
On Mon, Aug 3, 2020 at 8:35 PM Kovy Jacob wrote:
> Hi, is there a type of field for django data models that's for html? I
> want to have youtube embed links, which is a bunch of html fo putting a
> youtube video on your site. Itlooks like t
hi all.
i am new in django i, i want to improve my skill...
need for help en challenge ...
thks
--
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+unsu
Hi, could you share your forms.py, your views.py and the template.
On Mon, Aug 3, 2020 at 2:22 PM Christian Seberino
wrote:
> I created a custom form error messag like so...
>
> raise django.forms.ValidationError("Invalid date")
>
> However, when I do {{form.errors}} in a template I see thi
Hi, is there a type of field for django data models that's for html? I want
to have youtube embed links, which is a bunch of html fo putting a youtube
video on your site. Itlooks like this: "https://www.youtube.com/embed/Rj_vssRaZlQ"; frameborder="0"
allow="accelerometer; autoplay; encrypted-media;
Thacks Chucky, Since I would kike fot the users to personalize their own
options I think I would choose the second option, thanks a lot for the
advice.
On Sun, Aug 2, 2020, 11:59 PM Chucky Mada Madamombe
wrote:
> Hi,
>
> You have 2 options:
>
> 1. You can use choices
> 2. You can store data in a
Hello your have to follow the direction where you stored your file .
Generally, in Django you create a static folder then maybe an image files
where you store the images. You should link the image this way src= "{%
static 'images/imag.png' %}"
On Mon, 3 Aug 2020, 10:06 Yemin Sajid, wrote:
> This
I created a custom form error messag like so...
raise django.forms.ValidationError("Invalid date")
However, when I do {{form.errors}} in a template I see this
__all__
- Invalid date
-
-
- How remove that "__all__" part at beginning?
-
--
You received this
Thanks for your advice
Sent from my iPhone
> On 3/08/2020, at 4:07 AM, Yemin Sajid wrote:
>
>
> On idea could be serializing the context and setting as in a global `var` in
> javascript code in the templates. Then you should be able to access those in
> from React code.
> But tbh, I would
I think adding *"user" *in the fields array of the *ProfileSerializer*'s
Meta class should solve the issue.
On Thursday, July 30, 2020 at 5:22:06 PM UTC+6 tosina...@gmail.com wrote:
> i have it defined in another app, but i've gotten it attached below
>
> On Thu, Jul 30, 2020 at 11:50 AM 'Amit
This may not work as intended if the CSS files are not rendered using the
Django template engine. You have to put the style declaration where you'd
need the image in the ** tag in your template code. From
there you can use the *{% static “images/imag.png” %}* syntax.
On Friday, July 31, 2020 at
On idea could be serializing the context and setting as in a global `var`
in javascript code in the templates. Then you should be able to access
those in from React code.
But tbh, I would not recommend that. This type of integration may create
unnecessary complexities.
Better to work with the A
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2020/aug/03/django-bugfix-releases-309-2215/
--
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
20 matches
Mail list logo