Re: RUNSERVER SERIOUS PROBLEM! Please help me pls

2020-08-04 Thread Jatin Agrawal
It seems like your directoy structure is not proper after you moved some files/folders. So, if you can send the screenshot of your directory structure, it might be helpful for others to help you. On Tuesday, August 4, 2020 at 10:12:32 AM UTC+5:30, Phan Nguyen wrote: > > *So I was be able to work

Django 3.1 Released

2020-08-04 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2020/aug/04/django-31-released/ -- 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 e

Re: Udemy Clone

2020-08-04 Thread Venkata Penumatsa
Hi Vedant, Is this a hobby project or organization project? Is there any budget for this project? If so how much is the budget? On Sun, 2 Aug 2020 at 13:45, Kasper Laudrup wrote: > Hi Yedant, > > On 02/08/2020 17.54, vedant mehta wrote: > > I m facing many problems. Video player , forum for qn

Re: Django 3.1 release candidate 1 released

2020-08-04 Thread 'Nikhilanj Venkata Pelluri (Software Development)' via Django users
Hi, Has the final version for v3.1 been released ? On Monday, July 20, 2020 at 12:13:27 PM UTC+5:30 Mariusz Felisiak wrote: > Details are available on the Django project weblog: > > > https://www.djangoproject.com/weblog/2020/jul/20/django-31-release-candidate-1-released/ > > -- You receive

bug bulk_create

2020-08-04 Thread nima salemahim
Traceback (most recent call last): File "/usr/lib/python3.7/code.py", line 90, in runcode exec(code, self.locals) File "", line 1, in File "/home/nima/.virtualenvs/behtarino/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py", line 946, in add through_def

Re: Udemy Clone

2020-08-04 Thread nima salemahim
i am backend developer of an organization and faced to this problem i have an OrderdModel class (DealCategory) and i wanted to make my (Deal) model also OrderdModel so i tried this way and faced this problem while adding a deal to dealcategory i am not share that it is django problem or django-orde

Re: field for html

2020-08-04 Thread Yemin Sajid
I would suggest you to only put the *video id* in the charfield and use that to render the * *in the template. Otherwise, there can be security issues if the content from the charfield is rendered safely as HTML. So in your template could it would be something like *https://www.youtube.com/embed/{

bug in bulk_create

2020-08-04 Thread nima salemahim
Traceback (most recent call last): File "/usr/lib/python3.7/code.py", line 90, in runcode exec(code, self.locals) File "", line 1, in File "/home/nima/.virtualenvs/behtarino/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py", line 946, in add through_def

Django 3.1 release ?

2020-08-04 Thread 'Nikhilanj Venkata Pelluri (Software Development)' via Django users
Hi, I'm looking to upgrade my production system from Django v2.1 to the latest version. I see that the estimated release date for v3.1 is Aug 3, 2020. This page -- https://django.readthedocs.io/en/latest/releases/3.1.html still shows v3.1 as "UNDER DEVELOPMENT". Is there an official page

Udemy Clone

2020-08-04 Thread Kshitij Kotasthane
You should try to identify the features and break them down into manageable chunks. Udemy is huge app and and a Django (if you were to use one) is just a part of it. There would be a million things to consider. If you specify what you want help with, that makes things much more simple. So let's

Re: RUNSERVER SERIOUS PROBLEM! Please help me pls

2020-08-04 Thread Phan Nguyen
*To add up, There are also 2 manage.py and 2 setting.py, some of the files may be repetitive because I accidentally copied code from one to another so it was duplicated.* On Tuesday, August 4, 2020 at 9:22:36 PM UTC+7, Phan Nguyen wrote: > > > -- You received this message because you are subsc

Install -r 309 traceback

2020-08-04 Thread Roberto Melucci
Non sono riuscito ad installare django 3 0 9, con pip install -r Django-3.0.9-py3-none-any.whl ... mi segnala ben 11 traceback, di cui l'ultimo è in lib/encodings/cp1252.py, line 15, in decode return codecs.charmap_decode(input,errors,decoding_table) Non ho internet sul pc, e deve scaricare i fi

Problem in user creation

2020-08-04 Thread sonam pankaj
Hi, there is a problem when doing profile model using contrib.auth , sometimes profile is created without user so they went out of sync. How to make sure that user_id and Profile_id remain in sync. thanks -- You received this message because you are subscribed to the Google

Re: Problem in user creation

2020-08-04 Thread neeraj garg
You could use django signals which will keep the models in sync. On Tue, Aug 4, 2020, 9:16 PM sonam pankaj wrote: > > > Hi, > there is a problem when doing profile model using contrib.auth , > sometimes profile is created without user so they went out of sync. How to > make sure

Re: Problem in user creation

2020-08-04 Thread sonam pankaj
We have already used signals. still it escaped to make one of the user On Tue, Aug 4, 2020 at 9:35 PM neeraj garg wrote: > You could use django signals which will keep the models in sync. > > On Tue, Aug 4, 2020, 9:16 PM sonam pankaj wrote: > >> >> >> Hi, >> there is a problem w

Install -r 309 traceback

2020-08-04 Thread Roberto Melucci
I was unable to install django 3 0 9, with pip install -r Django-3.0.9-py3-none-any.whl ... shows me 11 tracebacks, of which the last is in lib / encodings / cp1252.py, line 15, in decode return codecs.charmap_decode (input, errors, decoding_table) I don't have internet on the pc, and it must dow

Understanding Baseinlineformset and inlineformset_factory.

2020-08-04 Thread NIKHIL RAJGARHIA
Hi All, I am unable to understand the below logic for '*BaseInlineFormSet*' and ' *inlineformset_factory*'. 1. What is the use of 'formset' in 'inlineformset_factory'? 2. What is the use of validation inside 'BaseInlineFormSet'? How it works? I haven't seen any implementation like this validatio

Re: Django storing byte string for image

2020-08-04 Thread را نيا
Good evening I want to import photos and PDF files from desktop app and display them in web app, how can I do it without using binary format? Le jeudi 4 janvier 2018 10:44:53 UTC+1, Shem Ogumbe a écrit : > > Maybe try the conversion then save the path to MongoDb, but not the > bytsetring itself

IntegrityError - null value in column "email" violates not-null constraint

2020-08-04 Thread Francisco André
Hey guys. I'm developing a new project and creating a custom user model, extending the AbstractBaseUser class, but when add a new user in admin interface or modelform I get the error: IntegrityError at /null value in column "email" violates not-null constraint. The field email is necessary and

Undefined HTML controls

2020-08-04 Thread Telly George
I have this problem where I navigate from my home page (index.html) to another page new_page.html) but the data input on new_page.html is not being read by Python. It seems as if at that point the HTML controls do not exist or are not being rendered and so I am unable to read the values in the

Re: Udemy Clone

2020-08-04 Thread vedant mehta
No budget Making for myself Just need help in making teacher dashboard where teacher can upload course and visible to students and they can enroll. Also want the feature of giving ratings to instructors On Tue, Aug 4, 2020, 3:15 PM Venkata Penumatsa wrote: > Hi Vedant, > > Is this a hobby projec

NoReverseMatch

2020-08-04 Thread Haris Ahmad
Hello everyone, I'm getting this error, *Reverse for 'create_order' with no arguments not found. 1 pattern(s) tried: ['create_order/(?P[^/]+)/$'] * I'm getting this error when I use *path('create_order//', views.createOrder, name="create_order"),* but there is no such error when path is.. *path

Re: NoReverseMatch

2020-08-04 Thread vedant mehta
In createOrder function in views.py u need to pass pk as well createOrder(request,pk) On Wed, Aug 5, 2020, 2:11 AM Haris Ahmad wrote: > Hello everyone, I'm getting this error, > *Reverse for 'create_order' with no arguments not found. 1 pattern(s) > tried: ['create_order/(?P[^/]+)/$'] * > > I'

Re: Django 3.1 release candidate 1 released

2020-08-04 Thread Thomas Lockhart
Mariusz announced the final release a few hours before you posted this. To this same email list ;) - Tom > On Aug 3, 2020, at 10:14 PM, 'Nikhilanj Venkata Pelluri (Software > Development)' via Django users wrote: > > Hi, > Has the final version for v3.1 been released ? > > On Monday, Jul

social_django.models.UserSocialAuth.DoesNotExist in unit test

2020-08-04 Thread Roy Smith
I have both model and social backends configured in settings.py: > AUTHENTICATION_BACKENDS = ( > 'django.contrib.auth.backends.ModelBackend', > 'social_core.backends.mediawiki.MediaWiki', > ) When I run this test: > from django.test import TestCase, Client > from django.contrib.auth.mod

Re: RUNSERVER SERIOUS PROBLEM! Please help me pls

2020-08-04 Thread Phan Nguyen
[image: aaa.png] Here are the 4 screenshots I have for the structure. At first, it worked perfectly fine when the 'src' folder was in Dev/trydjango/'src'. After I moved 'src' to the another folder on Desktop and put it inside the webserver folder. The files path is on top of my screen FYI. At th

Re: Problem in user creation

2020-08-04 Thread 'Amitesh Sahay' via Django users
Post your signal here to check On Tuesday, 4 August, 2020, 11:07:56 pm IST, sonam pankaj wrote: We have already used signals. still it escaped to make one of the user On Tue, Aug 4, 2020 at 9:35 PM neeraj garg wrote: You could use django signals which will keep the models in sync.

Re: Problem in user creation

2020-08-04 Thread sonam pankaj
Snapshot for the models Snapshots for signals On Wednesday, August 5, 2020 at 9:50:52 AM UTC+5:30, Amitesh Sahay wrote: > > Post your signal here to check > > > > On Tuesday, 4 August, 2020, 11:07:56 pm IST, sonam pankaj < > sonamp...@gmail.com > wrote: > > > We