Projects

2020-05-12 Thread Nagaraju Singothu
Dear Users, If you have any free source code live projects please send to me. On Tue 12 May, 2020, 7:36 PM Sharanagouda Biradar, wrote: > Hello All, > > I have started learning Django last one week and able to fairly understand > basic poll application in tutorial, Now I need any of

How to display multiple pie charts based on multiple lists?

2020-05-12 Thread ratnadeep ray
Hi all, I have a requirement where I need to display multiple pie charts based on multiple lists. Currently, I am able to display one pie chart involving 2 lists. Below is the views.py code for the same: # Create your views here. from django.shortcuts import render def pie_chart(request):

How to over ride the get context data method in view

2020-05-12 Thread Ahmed Khairy
I am currently trying to create a like button for my posts in Django I have reached to the part where I can add a like but I am facing difficulty writing the code related to the view which linking the PostListView if there is user who liked it or not. I am getting an error: page Error 404 alt

Adding a default Variation when creating a new Item

2020-05-12 Thread Ahmed Khairy
I have created this code for defining a default everytime I create a new product, It is working fine and whenever I create a new Item a new variable (size) is create I want to check whether this code is correct or not as I have had help from someone and I think we could have created an easie

How to Run script on remote server from Django Webserver - Help needed

2020-05-12 Thread Wilson Duarte
Hi, I prefer developer this solution, using REST API, it is more elegante. -- 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...@googlegroup

CSS with Django forms

2020-05-12 Thread Anubhav Madhav
My problem is, that I've made a beautiful 'Sign Up' and 'Login' Page using HTML and CSS. Later on, in my project, I had to use 'forms' for registration and login. Is there any way to display the forms with my HTML CSS files. Please Help!! -- You received this message because you are subscribed

Re: Project available

2020-05-12 Thread Bighnesh Pradhan
i am interested please send your flow chat in this mail. On Tue, May 12, 2020 at 11:36 PM tejasri mamidi wrote: > Iam interested to collaborate > > On Mon, May 11, 2020, 11:36 maninder singh Kumar < > maninder.s.ku...@gmail.com> wrote: > >> Dear group members, >> >> I have a django project

Re: Project available

2020-05-12 Thread tejasri mamidi
Iam interested to collaborate On Mon, May 11, 2020, 11:36 maninder singh Kumar wrote: > Dear group members, > > I have a django project available the flowcharts of which will be up in 1 > week. Write or call if interested ? > > Willy > +91 9910669700 > wi...@kawapeople.com > > Sent from my

Re: Can I use a JS Framework to display small JS tasks in a Django project?

2020-05-12 Thread Bighnesh Pradhan
do you have any project idea? On Tue, May 12, 2020 at 7:35 PM Alexander Rogowski wrote: > I have an idea to simplify the online experiments from our university. But > I'm not so familiar with the newest FE frameworks eg. react, angular, vue. > Any answer on this post is appreciated :) > > The id

Re: Project available

2020-05-12 Thread Gurjot Kawatra
Interested Email : gurjot@gmail.com On Mon, May 11, 2020, 11:36 AM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > Dear group members, > > I have a django project available the flowcharts of which will be up in 1 > week. Write or call if interested ? > > Willy > +91 991066970

Re: gdal installed still

2020-05-12 Thread Thomas Lockhart
It looks like you are running on Windows which I’m not familiar with. But most likely your gdal installation is in a different Python installation than your django installation. - Tom > On May 12, 2020, at 3:53 AM, mick wrote: > > django.core.exceptions.ImproperlyConfigured: Could not find th

Re: Project available

2020-05-12 Thread maninder singh Kumar
Have decided against it. regards willy On Tue, May 12, 2020 at 7:36 PM Bighnesh Pradhan < bighnesh.pradhan...@gmail.com> wrote: > I am interested , > i am from bangalore. > > On Mon, May 11, 2020 at 10:43 PM Nagaraju Singothu < > nagarajusingoth...@gmail.com> wrote: > >> I'm interested sir >> >

Re: Project available

2020-05-12 Thread ekong, emmanuel
I am not based in India I am a Nigerian seeking for project opportunities On Mon, 11 May 2020 at 2:43 PM, ekong, emmanuel wrote: > I am interested too... I can receive a mail here for acceptance > > On Mon, 11 May 2020 at 2:37 PM, sachin chaurasiya < > sachinchaurasiyachote...@gmail.com> wr

Incorrect query generated from ~Q/exclude

2020-05-12 Thread kirk
Django 2.2.12 Python 3.7.5 Postgres 10.11 I am receiving what I perceive to be an incorrect SQL query from a Django queryset. I am hoping I've just done something wrong. Here's the setup: from django.db.models import DecimalField, DO_NOTHING, F, ForeignKey, Model, Q, Sum, TextField class Ta

Re: Project available

2020-05-12 Thread Vishnu Khanna
I Am interested .plz let me in On Mon, 11 May 2020, 11:35 maninder singh Kumar, wrote: > Dear group members, > > I have a django project available the flowcharts of which will be up in 1 > week. Write or call if interested ? > > Willy > +91 9910669700 > wi...@kawapeople.com > > Sent from my iP

Re: How to handle non-uploaded dynamic images ?

2020-05-12 Thread Ryan Nowakowski
On Fri, May 08, 2020 at 06:47:22PM -0700, Dorian LE NET wrote: > Let's say I have a django app where users can display images by choosing > among infinite parameters through a form. These images do not exist before > the user generate them as they are built accordingly to its selection of > para

Re: Can I use Django for client-server communication ?

2020-05-12 Thread Sharanagouda Biradar
*Let me re-phrase my question.* I have a basic (server1) Django development web server and another server (ex:server2) - (actually multiple windows 10 machines not just 1 machine.) which has a python/batch script that launches a python application. Assume that the server1 has necessary authenti

Re: Django Lessons

2020-05-12 Thread Bighnesh Pradhan
Thank you for your email . On Tue, May 12, 2020 at 12:10 PM Eugen Ciur wrote: > You are welcome! > I am really glad that you found content useful :) > > On Tuesday, May 12, 2020 at 1:26:56 AM UTC+2, bnrc wrote: >> >> Hey Eugen, >> >> your lessons about nginx/gunicorn configuration were exactly

Can I use a JS Framework to display small JS tasks in a Django project?

2020-05-12 Thread Alexander Rogowski
I have an idea to simplify the online experiments from our university. But I'm not so familiar with the newest FE frameworks eg. react, angular, vue. Any answer on this post is appreciated :) The idea is, to put our experiments in two folders, "tasks" and "treatments". A task could be somethi

hi eveyone

2020-05-12 Thread Ravindra Patil
hi eveyone -- 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 visit https://groups.go

How to Run script on remote server from Django Webserver - Help needed

2020-05-12 Thread Sharanagouda Biradar
Hello All, I have started learning Django last one week and able to fairly understand basic poll application in tutorial, Now I need any of your help in meeting my requirements: *Requirement below :* I have a basic (server1) Django development web server and another server (server2) which has

Re: Project available

2020-05-12 Thread Bighnesh Pradhan
I am interested , i am from bangalore. On Mon, May 11, 2020 at 10:43 PM Nagaraju Singothu < nagarajusingoth...@gmail.com> wrote: > I'm interested sir > > On Mon 11 May, 2020, 11:36 AM maninder singh Kumar, < > maninder.s.ku...@gmail.com> wrote: > >> Dear group members, >> >> I have a django proje

Re: Tried to update field X with a model instance, < X >. Use a value compatible with CharField.

2020-05-12 Thread hajar Benjat
I think I am already doing this! Can you check my mail_item class please On Tue, May 12, 2020, 11:17 AM Motaz Hejaze wrote: > Access the country model through the foreign key in maiĺ_item , so you can > get the country name and store it in mail_item_count > > On Tue, 12 May 2020, 12:37 pm hajar

Re: Tried to update field X with a model instance, < X >. Use a value compatible with CharField.

2020-05-12 Thread Motaz Hejaze
Access the country model through the foreign key in maiĺ_item , so you can get the country name and store it in mail_item_count On Tue, 12 May 2020, 12:37 pm hajar, wrote: > can you explain to me more please > > Le mardi 12 mai 2020 10:01:24 UTC+1, Motaz Hejaze a écrit : >> >> In signal access t

gdal installed still

2020-05-12 Thread mick
django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal204", "gdal203", "gdal202", "gdal201", "gdal20"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your setting s. -- You received this message because you are subscribed to the Google Groups

Re: Tried to update field X with a model instance, < X >. Use a value compatible with CharField.

2020-05-12 Thread hajar
can you explain to me more please Le mardi 12 mai 2020 10:01:24 UTC+1, Motaz Hejaze a écrit : > > In signal access the model of country through the foreignkey > Pays.origin.country_name > > On Tue, 12 May 2020, 10:21 am Uri Kogan, > > wrote: > >> I would suggest changing your *mail_item_count*

Re: Error in Installation process

2020-05-12 Thread Ravi Prakash
Hi Thanks for this information. On Tue, May 12, 2020 at 3:58 PM Kasper Laudrup wrote: > Hi Ravi, > > On 12/05/2020 12.23, Ravi Prakash wrote: > > Hi > > > > When I m installing the pip and Django in Pycharm terminal that there is > > showing error. > > > > Here I attached the error screenshot P

Re: Error in Installation process

2020-05-12 Thread Kasper Laudrup
Hi Ravi, On 12/05/2020 12.23, Ravi Prakash wrote: Hi When I m installing the pip and Django in Pycharm terminal that there is showing error. Here I attached the error screenshot Please go through the screenshot for a brief understanding. Guide me, please! "The read operation timed out"

Re: TestCase failing when using transaction.atomic() inside test

2020-05-12 Thread Uri Kogan
Continuing my investigation I got the a following which does not work but should: from django.contrib.auth.models import User from django.test import TransactionTestCase from django.db import transaction class FooTest(TransactionTestCase): def test_bar(self): with transaction.atomic()

Re: Tried to update field X with a model instance, < X >. Use a value compatible with CharField.

2020-05-12 Thread Motaz Hejaze
In signal access the model of country through the foreignkey Pays.origin.country_name On Tue, 12 May 2020, 10:21 am Uri Kogan, wrote: > I would suggest changing your *mail_item_count* model like this: > > class mail_item_count(models.Model): > country = models.ForeignKey(Pays, on_delete=mode

Re: Tried to update field X with a model instance, < X >. Use a value compatible with CharField.

2020-05-12 Thread Uri Kogan
I would suggest changing your *mail_item_count* model like this: class mail_item_count(models.Model): country = models.ForeignKey(Pays, on_delete=models.CASCADE) count = models.IntegerField(default=1) On Tuesday, May 12, 2020 at 10:53:57 AM UTC+3, hajar wrote: > > aht do you advice me t

Re: Tried to update field X with a model instance, < X >. Use a value compatible with CharField.

2020-05-12 Thread hajar
aht do you advice me to do ? Le mardi 12 mai 2020 08:32:04 UTC+1, Uri Kogan a écrit : > > From the error message it can be seen that mail_item_count has "country" > item which is "CharField". > But... the signal receiver sets this to instance of "Pays" object which > assumes it is "ForeignKey".

Re: TestCase failing when using transaction.atomic() inside test

2020-05-12 Thread Uri Kogan
The documentation states that "you cannot test that a block of code is executing within a transaction" while I am looking to "test a block of code that has a transaction". In any case, the issue here is that "transaction.atomic" does not work when nested while it should clearly work. On Tuesday

Re: Tried to update field X with a model instance, < X >. Use a value compatible with CharField.

2020-05-12 Thread Uri Kogan
>From the error message it can be seen that mail_item_count has "country" item which is "CharField". But... the signal receiver sets this to instance of "Pays" object which assumes it is "ForeignKey". On Tuesday, May 12, 2020 at 9:41:16 AM UTC+3, hajar wrote: > > > class mail_item(models.Model)

Re: TestCase failing when using transaction.atomic() inside test

2020-05-12 Thread Aldian Fazrihady
Probably you need to use TransactionTestCase, which is the parent of TestCase instead: https://docs.djangoproject.com/en/3.0/topics/testing/tools/#transactiontestcase That page also mentions a specific problem when using transaction on TestCase: ``` A consequence of this, however, is that some data

Watch "django gives an error in virtualenv | Create Virtual Environment" on YouTube

2020-05-12 Thread Anonymous Patel
https://youtu.be/HensdOAgszo If you are facing error while creating virtual environment. Follow up with a link and get going Raj Patel -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fro