Hi,
I did change as per your advise,, no errors , but no changes field 2 (cmonth)
not got value from field1 (month) below is my views.py
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Sebastian Jung
Sent: 29 January 2022 05:03
To: django-us
The solution I think of for this is to overwrite get_template_names
https://ccbv.co.uk/projects/Django/4.0/django.views.generic.base/TemplateView/#get_template_names
I quickly made a draft implementation (which I couldn't test)
from django.core.exceptions import ImproperlyConfigured
from django
Hello,
i think this is easy. When customer submit post data to django and form is
valid. then you make following.
formentry = form.save(commit=False)formentry.field2 =
formentry.cleaned_data['field1']
formentry.save()
This is untested but i am very sure that this works
Regards
Am Fr., 28.
Hello Fabio,
i want that admin can make in database a entry to a field in my own
settings model in field standardtemplatepath for example /newtemplate/ in
my views.py there are exists a normal CBV Templateview with template_name =
'Testtemplate.html' and in settings.py i have a entry TEMPLATES = [
Hi Sebastian, I guess this is not possible.
But the real question is: why do you need a queryset to perform in the
settings?
Perhaps if you explain what problem you want to solve, we can give you some
options for other possible solutions.
Em sex., 28 de jan. de 2022 às 20:00, sebasti...@gmail.
Hello,
i want to import from a app models.py like this:
from app1.models import classname
then i get:
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
I want to get a queryset from app1.models.classname in settings.py. How is
this possible?
Regards
--
You received this m
On 28/01/2022 21.26, Bernard Mallala wrote:
I am thinking about skiing this afternoon
Sounds nice.
Enjoy and take care of yourself.
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this grou
Hi
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Ammar Mohammed
Sent: 29 January 2022 03:42
To: 'Rahul Chauhan' via Django users
Subject: RE: copy value from field1 to field2
Hi
Where is your forms.py ???
Ammar Mohammed
Tel: 0113075
Hi
Where is your forms.py ???
Ammar Mohammed
Tel: 0113075979
On 28 Jan 2022, 23:52 +0200, Feroz Ahmed , wrote:
> Hi, Thanks for your support below are the views and models, plz guide, no
> errors but no success Views.py (cmonth is none value
> and excluded in form) mon
Hi,
Thanks for your support below are the views and models, plz guide, no
errors but no success
Views.py (cmonth is none value and excluded in form)
month is insertable from form template
def insert(request):
form=StudentForm()
i
Hi,
Thanks for your support below are the views and models, plz guide, no
errors but no success
Views.py (cmonth is none value and excluded in form)
month is insertable from form template
def insert(request):
form=StudentForm()
i
I am thinking about skiing this afternoon
On Friday, January 28, 2022 at 12:18:08 PM UTC-7 Kasper Laudrup wrote:
> On 28/01/2022 10.12, Anil Choudhari wrote:
> > How to connect hive in Django ?
> >
>
> You can't. Better find something else to do.
>
> Kind regards,
>
> Kasper Laudrup
>
--
You re
very academy had helped me a lot. I think this will be beneficial for you
also.
On Fri 28 Jan, 2022, 9:04 PM muwaga micheal, wrote:
> Django is a good framework to learn. Its easy and has a great community to
> help.
> There are good videos on YouTube.
>
> On Thursday, January 27, 2022 at 5:10:5
Hello
You can do it in your views.py
#If request method is get you can use
val2 = request.GET.get('val1')
#if method is get you can use
val2 = request.POST.get('val1')
#then you can use val2 to in sert it in the dB
Model.objects.create(val1=request.GET['val1'], val2=val2)
Regards
Ammar Mohammed
Hi,
I am new to django,
I have field1 as dropdown with mentioned months name
filed2 is none and excluded in forms
I want while inserting the data , if I select month , it should insert the
same value in field2
request your support
Ex:
field1 .value('JAN')
field2 is excluded from f
On 28/01/2022 10.12, Anil Choudhari wrote:
How to connect hive in Django ?
You can't. Better find something else to do.
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop re
How to connect hive 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 this discussion on the web vis
Django is a good framework to learn. Its easy and has a great community to
help.
There are good videos on YouTube.
On Thursday, January 27, 2022 at 5:10:56 PM UTC+3 jmizpaha...@gmail.com
wrote:
> It's easy if you get the Python basics first.
> Suggest having a good grasp of Python basic conce
What is the problem you are trying to solve?
What do you want to optimize exactly? 🤔
hope this course helps you : https://acciojob.com/
On Monday, June 28, 2021 at 7:36:38 AM UTC+5:30 David Nugent wrote:
> Well, one workaround that may serve if your dataset isn't too large is to
> use a cache
Thanks for the resource! Will look into this.
On Thursday, 27 January 2022 at 22:41:20 UTC+8 sebasti...@gmail.com wrote:
> Hey,
>
> Here a tutorial
> https://simpleisbetterthancomplex.com/tutorial/2016/08/01/how-to-upload-files-with-django.html
>
> John Dollosa schrieb am Do., 27. Jan. 2022,
20 matches
Mail list logo