Re: Problem to style form fields with error

2024-04-25 Thread Guido Luis Dalla Vecchia
24, 2024 6:28:18 PM CDT, Guido Luis Dalla Vecchia < > gld...@gmail.com> wrote: > >> Hello! I'm building my first website with Django and I've been stuck for >> the past two months with a problem I can't figure out. >> My website has a form with three fields that a

Problem to style form fields with error

2024-04-24 Thread Guido Luis Dalla Vecchia
Hello! I'm building my first website with Django and I've been stuck for the past two months with a problem I can't figure out. My website has a form with three fields that allow the user to input his first name, last name and email. In my "forms.py" file, I've declared "clean&qu

Problem when styling form fields with errors

2024-04-24 Thread Guido Luis Dalla Vecchia
Hello! I'm building my first website with Django and for the last 2 months have been stuck with a problem with my form. My webpage has a form with 3 fields that allow the user to input his first name, last name and email. I've defined "clean" methods for all three fields in "form

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
from django.urls import path from . import views urlpatterns = [ path('login/', views.login_user, name='login'), path('logout/', views.logout_request, name='logout'), path('register/', views.registration, name='registration'), ] On Wed, Apr 17, 2024 at 5:16 PM Ana Jiménez wrote: >

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread Ana Jiménez
the file that says i have wrong is this one: djangoapp/urls.py # Uncomment the required imports before adding the code from django.shortcuts import render from django.http import HttpResponseRedirect, HttpResponse from django.contrib.auth.models import User from django.shortcuts import

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
check your urls.py file to make sure you haven't imported circularly. or better still, paste your urls.py here On Wed, Apr 17, 2024 at 4:47 PM Ana Jiménez wrote: > hi guys, so i'm doing a project and there's a part that says i need to do > the migrations but when i do that i get this error >

problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread Ana Jiménez
hi guys, so i'm doing a project and there's a part that says i need to do the migrations but when i do that i get this error "Traceback (most recent call last): File "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/urls/resolvers.py", line

problem when i create a new django project

2024-04-14 Thread 无名氏
创建 Django 应用程序时出错: Python 端错误。退出代码: 1,错误: Traceback (most recent call last): File "D:\pycharm_stu\pycharm_stu_\plugins\python\helpers\pycharm\_jb_django_project_creator.py", line 12, in management.execute_from_command_line(argv=["django-admin", "startproject", project_name, path]) File

Re: htmx progress indicator problem - might be caching

2023-12-02 Thread Mike Dewhirst
On 2/12/2023 5:42 pm, Mike Dewhirst wrote: I'm now thinking/wondering if a htmx timed execution - say every one or two seconds - might call a view which monitors a singleton being updated by the main view kicked off by the form's submit button. Well that almost worked! I can update the

Re: htmx progress indicator problem - might be caching

2023-12-01 Thread Mike Dewhirst
On 2/12/2023 12:19 am, Thomas Couch wrote: Can I just check I understand the broader requirements here: * The user completes the form, which includes a list of items, and clicks submit * For each item in the list you want Django to create a new object and save it to the database * It tends to

Re: htmx progress indicator problem - might be caching

2023-12-01 Thread Thomas Couch
Can I just check I understand the broader requirements here: * The user completes the form, which includes a list of items, and clicks submit * For each item in the list you want Django to create a new object and save it to the database * It tends to be a very long list and/or each item takes a

Re: htmx progress indicator problem - might be caching

2023-11-29 Thread Mike Dewhirst
On 29/11/2023 9:56 pm, Thomas Couch wrote: Not sure if it's related, but you've got a div inside a p element there: That'll probably get corrected by the browser to: It all seems OK to my untrained eye and things stop working if I play with those elements. I'll take them out later and

Re: htmx progress indicator problem - might be caching

2023-11-29 Thread ELVIS MAKASI
Greas Le mer. 29 nov. 2023, 11:57, Thomas Couch a écrit : > Not sure if it's related, but you've got a div inside a p element there: > > > That'll probably get corrected by the browser to: > > > > Another thing is, it doesn't look like there's anything linking the submit > button click to

Re: htmx progress indicator problem - might be caching

2023-11-29 Thread Thomas Couch
Not sure if it's related, but you've got a div inside a p element there: That'll probably get corrected by the browser to: Another thing is, it doesn't look like there's anything linking the submit button click to the initial htmx request, and there's no htmx in the response. Have you

htmx progress indicator problem - might be caching

2023-11-27 Thread Mike Dewhirst
I'm trying but failing to get htmx to deliver a progress indication. The task is creating records in the database for each item in a list provided by the logged in user. The view with the submit button collects the list and does the database insertion. I added a "progress" property to the

Re: User log in authentication problem in Django

2023-07-31 Thread AYUSH GUPTA
gt; class registration(models.Model): > Name = models.CharField(max_length=100) > username = models.CharField(max_length=100) > Email = models.CharField(max_length=100) > Password = models.CharField(max_length=100) > > Please help me for solve this problem &g

Ynt: User log in authentication problem in Django

2023-07-31 Thread Serkan Gülten
Password should be hash not just string Windows için Posta ile gönderildi Kimden: Mh LimonGönderilme: 30 Temmuz 2023 Pazar 04:32Kime: Django usersKonu: User log in authentication problem in Django This is my views.py code. when providing the correct username and password, the system consistently

User log in authentication problem in Django

2023-07-29 Thread Mh Limon
ax_length=100) Please help me for solve this problem -- 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

Re: Problem with my website

2023-07-14 Thread Adrián Salatino
Check that you have ALLOWED_HOSTS set properly. While DEBUG=True, host validation is disabled, so it isn't needed. On Wed, Jul 12, 2023 at 5:47 PM Théodore KOSSI wrote: > > Hello everyone, > I have a problem with my website. When I put DEBUG = False, my website > appears in white p

Re: Problem with my website

2023-07-12 Thread Peter Benjamin Ani
com > http://ryucoder.in > > > On Wed, Jul 12, 2023 at 11:47 PM Ben Sidney Matiko > wrote: > >> Is the website in development stage? >> >> On Wed, 12 Jul 2023, 18:47 Théodore KOSSI, >> wrote: >> >>> Hello everyone, >>> I have a proble

Re: Problem with my website

2023-07-12 Thread Chetan Ganji
age? > > On Wed, 12 Jul 2023, 18:47 Théodore KOSSI, > wrote: > >> Hello everyone, >> I have a problem with my website. When I put DEBUG = False, my website >> appears in white page but when it is in True, my website works normally. >> Please, anyone can help me ?? &

Re: Problem with my website

2023-07-12 Thread Ben Sidney Matiko
Is the website in development stage? On Wed, 12 Jul 2023, 18:47 Théodore KOSSI, wrote: > Hello everyone, > I have a problem with my website. When I put DEBUG = False, my website > appears in white page but when it is in True, my website works normally. > Please, anyone

Re: Problem with my website

2023-07-12 Thread Carlos Pimentel_leanTech
messages, making it easier to identify and fix issues during development. To troubleshoot the problem and determine the cause of the white page, you can follow these steps: 1. Check the Server Logs: When `DEBUG` is set to `False`, Django logs errors and exceptions to the server logs instead

Problem with my website

2023-07-12 Thread Théodore KOSSI
Hello everyone, I have a problem with my website. When I put DEBUG = False, my website appears in white page but when it is in True, my website works normally. Please, anyone can help me ?? -- theodoros17@python-developer -- You received this message because you are subscribed to the Google

Re: problem bd python manage.py makemigrations & migrate

2023-06-20 Thread Issa N'golo Coulibaly
First created an application and then in the settings.py set the constant AUTH_USER_MODEL = "my_app_name.User" and do makemigrations then migrate for the very first time. your custom User table does not exist in the database that's why the exception is thrown. On Sun, 11 Jun 2023, 19:00 Alexandru

Re: problem bd python manage.py makemigrations & migrate

2023-06-20 Thread Alexandru - Gabriel Ionicescu
Hello Bradie, Is not work. I delete all db and migrate but is not working.. În dum., 11 iun. 2023 la 22:54, Bradie Poa a scris: > This is mostly cause be mismatch of migrations. In the migrations folder. > If deleting the db fails to work for you. You need to delete or migrations > folders and

Re: problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Bradie Poa
This is mostly cause be mismatch of migrations. In the migrations folder. If deleting the db fails to work for you. You need to delete or migrations folders and then re-do the process of makemigrations and migrate. This will play you the magic On Sun, Jun 11, 2023, 22:12 Bhuvnesh Sharma wrote:

Re: problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Bradie Poa
Delete the delete the database, makemigrations and then migrate. On Sun, Jun 11, 2023, 22:12 Bhuvnesh Sharma wrote: > Hi, > This seems a bit unexpected behaviour,could you tell us all the steps > you followed from the beginning and at what step is it giving error? > > On Mon, Jun 12, 2023,

Re: problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Bhuvnesh Sharma
Hi, This seems a bit unexpected behaviour,could you tell us all the steps you followed from the beginning and at what step is it giving error? On Mon, Jun 12, 2023, 12:30 AM Alexandru - Gabriel Ionicescu < ionicescu.alexandrugabr...@gmail.com> wrote: > hello, I have a project and I use django.

problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Alexandru - Gabriel Ionicescu
hello, I have a project and I use django. I'm trying to do my migrations for bd but I can't do them. it gives me the error django.db.utils.OperationalError: no such table: user_user. I also made a User class (AbstractUser) and it still doesn't work. What can I do? I mention that in settings.py I

Re: A picturesque authentication problem ONLY in Google Chrome

2023-06-08 Thread Rogério Carrasqueira
; were a lot of fixes between Django 1.4 and 4.2 LTS, including several > security fixes for major flaws, so even if you manage to solve this > particular problem, perhaps you should consider starting planning to port > this system to newer versions of Python and Django. > > If you

Re: A picturesque authentication problem ONLY in Google Chrome

2023-06-08 Thread Fabio C. Barrionuevo da Luz
released 8 years ago, and most likely, there were a lot of fixes between Django 1.4 and 4.2 LTS, including several security fixes for major flaws, so even if you manage to solve this particular problem, perhaps you should consider starting planning to port this system to newer versions of Python

A picturesque authentication problem ONLY in Google Chrome

2023-06-08 Thread Rogerio Carrasqueira
app.domain.com.br, without going through the main site www.dominio.com.br, can log in successfully. Now, if you go through the main site afterwards, you can no longer log in to the restricted area, you must delete the cookie again in the Google Chrome settings. In other browsers this problem does

Re: I have a problem with visual studio code

2023-05-03 Thread 'Kasper Laudrup' via Django users
On 02/05/2023 16.56, Stan Hiebah wrote: Can i have a solution for this? If you want someone to take the time to write a proper answer, take the time to write a proper question. Posting a screenshot is not a proper question. No one is able to guess what you're trying to do, what your setup

Re: I have a problem with visual studio code

2023-05-02 Thread Byansi Samuel
I ever get the error when trying to install pillow , first let him mind the version of python and the Version of pillow. Downloaded the older version of pillow and python 3.10 On Tue, May 2, 2023, 8:00 PM Vishesh Mangla wrote: > Oh looks like you are using visual studio python. Dont use that

Re: I have a problem with visual studio code

2023-05-02 Thread Vishesh Mangla
Also ask for help on web.libera.chat website.there is a python channel On Tue, 2 May, 2023, 22:29 Vishesh Mangla, wrote: > Oh looks like you are using visual studio python. Dont use that and remove > the python path and download python from official website > > On Tue, 2 May, 2023, 22:27 Stan

Re: I have a problem with visual studio code

2023-05-02 Thread Vishesh Mangla
Oh looks like you are using visual studio python. Dont use that and remove the python path and download python from official website On Tue, 2 May, 2023, 22:27 Stan Hiebah, wrote: > i tried so many different versions of python and still getting this error > please help cause i have project

Re: I have a problem with visual studio code

2023-05-02 Thread Stan Hiebah
i tried so many different versions of python and still getting this error please help cause i have project should be delivered On Tue, 2 May 2023, 7:55 pm Vishesh Mangla, wrote: > Looks like issue is with pillow > > On Tue, 2 May, 2023, 22:17 Byansi Samuel, > wrote: > >> Which version of

Re: I have a problem with visual studio code

2023-05-02 Thread Vishesh Mangla
Looks like issue is with pillow On Tue, 2 May, 2023, 22:17 Byansi Samuel, wrote: > Which version of python do you use? > > It's because of python. Change the version of your python from anyone you > have been using and install > > Python 3.10, it will work fine and successful > > On Tue, May

Re: I have a problem with visual studio code

2023-05-02 Thread Byansi Samuel
Which version of python do you use? It's because of python. Change the version of your python from anyone you have been using and install Python 3.10, it will work fine and successful On Tue, May 2, 2023, 7:41 PM Stan Hiebah wrote: > Can i have a solution for this? > > -- > You received this

Re: The problem of versioning a large project.

2023-03-30 Thread Aharon Leibman
Could you give more information, please? the project structure provided to your GIT repository It is not entirely clear how you perform separation by application среда, 29 марта 2023 г. в 22:06:29 UTC+3, Alex Sonar: > The problem of versioning a large project. > > Hi guys, I really

The problem of versioning a large project.

2023-03-29 Thread Alex Sonar
The problem of versioning a large project. Hi guys, I really got stuck with the challenge, with the design of versioning for a large project. Now we have organized versioning, where our project is divided into separate GIT repositories which are created for each application. The new

URL pattern problem

2023-03-13 Thread Mark McWiggins
I have a URL pattern setup like this: from django.urls import include, re_path from . import views app_name = 'devices' urlpatterns = [ re_path(r'^show/(?P[\w@./#&+-]+)$', views.show_device, name='show'), re_path(r'^depot/(?P[\w@./#&+-]+)$', views.depot_device, name='depot'), But when

Re: error problem

2023-02-21 Thread Ronnie Preal
Thank you David I will try again. Can I contact you if the problem persists. On Mon, Feb 20, 2023, 8:39 PM David Nugent wrote: > You appear to half only half asked your question and have provided no > context. > > Do you have a route named 'register'? [ URL(, name="reg

Re: error problem

2023-02-20 Thread David Nugent
You appear to half only half asked your question and have provided no context. Do you have a route named 'register'? [ URL(, name="register") ] (I am guessing no, else this specific error would not occur) Guessing what you forgot to mention, check out some of the great tutorials available

Re: Django microservice authentication problem.

2023-02-02 Thread Mohammad Anarul
Thanks, guys The Django user group is very helpful. On Sun, Jan 29, 2023 at 12:54 PM Lauro Cesar de Oliveira (olarva) < ola...@gmail.com> wrote: > Hello there. > > First thing: show us the error. > > Getting status code 400? > > Probably a wrong setting of one of those (or maybe all): > >

Re: Django microservice authentication problem.

2023-01-28 Thread Lauro Cesar de Oliveira (olarva)
Hello there. First thing: show us the error. Getting status code 400? Probably a wrong setting of one of those (or maybe all): ALLOWED_HOSTS CORS_ALLOWED_ORIGINS CSRF_TRUSTED_ORIGINS CSRF_USE_SESSIONS MIDDLEWARE When working with microservice make sure the reverse-proxy/loadbalance is

Re: Django microservice authentication problem.

2023-01-28 Thread 'Steven Mapes' via Django users
Are you trying to authenticate via Django Rest FrameWork API or via the standard Django authentication system? It shouldn't really matter which it is as both can be scaled horizontally and you'll have no issue with authenticating so in order for us to help we'd need to understand what you are

Django microservice authentication problem.

2023-01-27 Thread Mohammad Anarul
How to communicate and authenticate with multiple Django servers. Is it possible? If possible you can help me, I am trying more than 15 days in this section but not getting any solution. Please share with me any requirements like books, videos, blogs, or code examples. -- You received this

Re: manage.py loaddata: Problem installing fixture... Email matching query does not exist

2022-10-17 Thread Luiz Angelo Daros de Luca
Hello Moritz, I have good news. I managed to migrate from sqlite3 to postgresql. You need to apply this patch and load each mailman app individually because it conflicts with existing objects, truncating the *_profile tables on the way. https://gitlab.com/mailman/hyperkitty/-/merge_requests/469

Re: manage.py loaddata: Problem installing fixture... Email matching query does not exist

2022-09-27 Thread Luiz Angelo Daros de Luca
Hello Moritz, I got the same problem doing the same mailman3 migration (but to a postgres db). Do you have a solution? Regards, -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Re: Facing Problem

2022-09-10 Thread 'Kasper Laudrup' via Django users
On 10/09/2022 12.00, Anil Singh wrote: Dear All When i running our program then coming this type of error, what is solutions Hard to know since you haven't provided enough information for anyone to help you. Remember that no one has any idea what you are trying to achieve, what your

Re: Facing Problem

2022-09-10 Thread pankaj palmate
Hi Anil , you might need to pass Id In your view as argument On Sat, 10 Sep, 2022, 9:51 pm Anil Singh, wrote: > Dear All > When i running our program then coming this type of error, what is > solutions > > TypeError at /errorapi/insuranceDetails/get() missing 1 required > positional argument:

Facing Problem

2022-09-10 Thread Anil Singh
Dear All When i running our program then coming this type of error, what is solutions TypeError at /errorapi/insuranceDetails/get() missing 1 required positional argument: 'id' Request Method: GET Request URL: http://127.0.0.1:8000/errorapi/insuranceDetails/ Django Version: 2.1.7 Exception

Re: problem

2022-07-21 Thread Lakshyaraj Dash
There's a info attr to messages but the the thing is in the syntax. He has another curve bracket inside his messages syntax On Thu, 21 Jul, 2022, 08:59 Abdul Qoyyuum, wrote: > Maybe print your "messages" and confirm if there's no "info" attribute or > method to it. > > On Wed, Jul 20, 2022 at

Re: problem

2022-07-20 Thread Abdul Qoyyuum
Maybe print your "messages" and confirm if there's no "info" attribute or method to it. On Wed, Jul 20, 2022 at 11:12 PM chaouch elhem wrote: > [image: image_2022-07-20_133032905.png] > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To

Re: problem

2022-07-20 Thread Lakshyaraj Dash
Syntax will be messages.warning(req, 'some fields are empy') On Wed, Jul 20, 2022, 20:42 chaouch elhem wrote: > [image: image_2022-07-20_133032905.png] > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and

problem

2022-07-20 Thread chaouch elhem
[image: image_2022-07-20_133032905.png] -- 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

Re: Django GDAL problem in M1 Chip Pro

2022-07-19 Thread 'Kasper Laudrup' via Django users
On 18 July 2022 18.46.07 CEST, Chandra Prakash Choubey wrote: >Noting is in the content. > Considering you didn't actually ask a question I don't know which kind of response you were hoping for. At least you got a fast response. Seemed like that was important to you. If you want a useful

Re: Django GDAL problem in M1 Chip Pro

2022-07-18 Thread 'Kasper Laudrup' via Django users
On 18 July 2022 18.46.07 CEST, Chandra Prakash Choubey wrote: >Noting is in the content. > Considering you didn't actually ask a question I don't know which kind of response you were hoping for. At least you got a fast response. Seemed like that was important to you. If you want a useful

Re: Django GDAL problem in M1 Chip Pro

2022-07-18 Thread 'Kasper Laudrup' via Django users
On 18 July 2022 18.46.07 CEST, Chandra Prakash Choubey wrote: >Noting is in the content. > Considering you didn't actually ask a question I don't know which kind of response you were hoping for. At least you got a fast response. Seemed like that was important to you. If you want a useful

Re: Django GDAL problem in M1 Chip Pro

2022-07-18 Thread Chandra Prakash Choubey
Noting is in the content. On Mon, Jul 18, 2022 at 9:38 PM 'Kasper Laudrup' via Django users < django-users@googlegroups.com> wrote: > On 18 July 2022 07.47.08 CEST, Chandra Prakash Choubey < > cpc.chandra...@gmail.com> wrote: > >Hi ALL, > >I am getting this probl

Re: Django GDAL problem in M1 Chip Pro

2022-07-18 Thread 'Kasper Laudrup' via Django users
On 18 July 2022 07.47.08 CEST, Chandra Prakash Choubey wrote: >Hi ALL, >I am getting this problem > >OSError: dlopen(/opt/homebrew/Cellar/gdal/3.3.1_2/lib/libgdal.dylib, >6): no suitable image found. Did find: >/opt/homebrew/Cellar/gdal/3.3.1_2/lib/libgdal.dylib:

Django GDAL problem in M1 Chip Pro

2022-07-18 Thread Chandra Prakash Choubey
Hi ALL, I am getting this problem OSError: dlopen(/opt/homebrew/Cellar/gdal/3.3.1_2/lib/libgdal.dylib, 6): no suitable image found. Did find: /opt/homebrew/Cellar/gdal/3.3.1_2/lib/libgdal.dylib: mach-o, but wrong architecture /opt/homebrew/Cellar/gdal/3.3.1_2/lib/libgdal.29.dylib: mach-o

manage.py loaddata: Problem installing fixture... Email matching query does not exist

2022-07-07 Thread Moritz Both
/site-packages/django/db/models/fields/related_descriptors.py", line 154, in get_object return qs.get(self.field.get_reverse_related_filter(instance)) File "*/home/daneben/*.local/lib/python3.8/site-packages/django/db/models/query.py", line 435, in get raise self.model.Do

Re: i am facing problem with my project to update data in mysql using django

2022-06-20 Thread andrew snyder
can you conform that database user has permissions to update data in all three databases using a mysql client? On Thursday, June 16, 2022 at 12:02:00 PM UTC-4 rafiurra...@gmail.com wrote: > here is my problem description link in stackoverflow > if anyone can help me, i will be gra

i am facing problem with my project to update data in mysql using django

2022-06-16 Thread rafiur rahman rafit
here is my problem description link in stackoverflow if anyone can help me, i will be gratefull linkproblem link <https://stackoverflow.com/questions/72644894/why-i-can-not-able-to-update-my-data-in-django> -- You received this message because you are subscribed to the Google Groups &

Re: migrations problem in django

2022-06-02 Thread Steve Smith
Looks like a spelling error at first glancemax_length...not max_lenght That's my first guess... From: django-users@googlegroups.com on behalf of Paras Kashyap Sent: Wednesday, June 1, 2022 12:00 PM To: Django users Subject: migrations problem in django

Re: migrations problem in django

2022-06-02 Thread Ayser shuhaib
You probably have a Integer field in one of your models with max_length arguments, so remove that argument and that should solve the problem On Thu, 02 Jun 2022 at 01:37, Mike Dewhirst wrote: > On 2/06/2022 3:00 am, Paras Kashyap wrote: > > TypeError: Field.__init__() got an unexpecte

Re: migrations problem in django

2022-06-01 Thread Mike Dewhirst
On 2/06/2022 3:00 am, Paras Kashyap wrote: TypeError: Field.__init__() got an unexpected keyword argument 'max_lenght' You have probably seen this already ... should be 'max_length' Please someone tell me how to fix this error, this error occurs when i try to make migrations -- You received

migrations problem in django

2022-06-01 Thread Paras Kashyap
TypeError: Field.__init__() got an unexpected keyword argument 'max_lenght' Please someone tell me how to fix this error, this error occurs when i try to make migrations -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: GEODJANGO Problem/Question

2022-05-11 Thread Steve Watts
Update - I did manage to get the vast majority of the features to load - still missing 7,000/1,462,918 that showed errors during the LayerMapping process. I see a lot of "An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block." so I suspect

GEODJANGO Problem/Question

2022-05-10 Thread Steve Watts
I am running a LayerMapping on a set of ShapeFiles acquired from a County GIS Department. I've done a quite a bit of this, and this is the first time I"ve seen such an issue. As LayerMapping is proceeding through the file saving model instances, it encounters one that it can't handle:

hello everyone please can someone help me with my problem is very important please Environment: Request Method: GET Request URL: http://127.0.0.1:8000/user/ Django Version: 4.0.4 Python Version: 3

2022-04-30 Thread ray nkamwa
-- 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

Re: problem in reloading project files with UWSGI for Django app

2022-04-22 Thread Jason
restart uwsgi? On Friday, April 22, 2022 at 6:59:28 AM UTC-4 agnese.c...@gmail.com wrote: > Good morning, today i am facing some issues with my django app at > word-b.com. > The backend is giving me 404 on a reste resource that i have just fixed. > I have uploaded the files in production just

problem in reloading project files with UWSGI for Django app

2022-04-22 Thread Agnese Camellini
Good morning, today i am facing some issues with my django app at word-b.com . The backend is giving me 404 on a reste resource that i have just fixed. I have uploaded the files in production just now, thinking that the uwsgi daemon would reload them on demand due to the interpreted nature of

Debug problem

2022-04-11 Thread MRM
Hi, I am doing an django project in atom IDE. But I dont know how to debug the code line by line. So how to debug the code in atom IDE? Can you help me? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

trying to getJSON data from database, but there is a problem with rendering

2022-03-02 Thread UGC
le.log(data); }) } index.html i think that the problem is here. i want that these function would get the data of fetch and render it on the template*(dont work)* -- $(document).ready(function() { $(".info-employe").click(function(event){ $.getJSON('/checks/', functio

Re: Authentication by proxy server was unsuccessful ,what the problem?, that's the output from my browser .

2022-02-18 Thread kuda ronnie
https://stackoverflow.com/questions/19094720/how-to-automatically-reload-django-when-files-change On Fri, Feb 18, 2022 at 9:50 AM Heman Okumbo wrote: > Probably a refresh or caches to detect changes made to settings,as i had > earlier included additional settings.Thnx for the tip.How can you

Re: Authentication by proxy server was unsuccessful ,what the problem?, that's the output from my browser .

2022-02-17 Thread Heman Okumbo
Probably a refresh or caches to detect changes made to settings,as i had earlier included additional settings.Thnx for the tip.How can you refresh the django server? On Thu, Feb 17, 2022, 22:10 kuda ronnie wrote: > i think its something to do with caching, refresh error i guess. u see > after u

Re: Authentication by proxy server was unsuccessful ,what the problem?, that's the output from my browser .

2022-02-17 Thread kuda ronnie
i think its something to do with caching, refresh error i guess. u see after u connected the internet. the glitch was resolved. On Wed, Feb 16, 2022 at 4:03 PM Heman Okumbo wrote: > I was running manage.py runserver without internet connection on my > machine and getting the above error.After

Re: Hi I have been facing this problem for days now. Basically I am trying to send emails. I tried toggling less secured, now am using app passwords. But still does not work. Pls help I ony get this e

2021-12-19 Thread Hussein Naim
hey , this error can be solved when you turn on less app seucrty and useing app password in google account(gmail) في الأحد، 19 ديسمبر 2021 في تمام الساعة 4:37:00 ص UTC+3، كتب oluwadam...@gmail.com رسالة نصها: > [image: Screenshot (50).png] > -- You received this message because you are

Re: Hi I have been facing this problem for days now. Basically I am trying to send emails. I tried toggling less secured, now am using app passwords. But still does not work. Pls help I ony get this e

2021-12-19 Thread Kasper Laudrup
at. After learning that, if you want someone to help you, try to provide the relevant details. No one here would have any idea of the context of your problem. Share the relevant code snippets, which SMTP server are you trying to use and so on. Doing so will greatly improve the chances of getting

Re: Problem re-rendering ClearableFileInput on validation error

2021-10-08 Thread Jesus Antonio Sv
Did you find a solution for this? On Saturday, December 12, 2020 at 1:13:39 AM UTC+9 michael@gmail.com wrote: > Note that if the user decides to upload a new file on step 2, the field > will then be re-rendered with the uploaded file object, which also ends up > rendering a blank file

Re: Problem when i turn debug False

2021-09-02 Thread Luca Bertolotti
Yes i have read the documentation but as you can see I never understand. I think that I can use whitenoise in a2hosting, let me ask for a stupid question, a friend have a VNS on a different machine is possible use his machine for load static files? Regards Il giorno gio 2 set 2021 alle ore

Re: Problem when i turn debug False

2021-09-02 Thread Daniel Hepper
As far as I can tell a2hosting offers plain virtual servers. Have you read the documentation on Serving static files in production? https://docs.djangoproject.com/en/3.2/howto/static-files/deployment/ On Thu, Sep 2, 2021 at 10:46 AM luca72.b...@gmail.com < luca72.bertolo...@gmail.com> wrote: >

Problem when i turn debug False

2021-09-02 Thread luca72.b...@gmail.com
Hello my web site is hosted on a2hosting when i turn to False the image are not loaded. My settings.py have this line: STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static_files') MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, "static_media") the file are located in:

how to solve several Foreign key relationship problem? Any help or advice?

2021-08-19 Thread Alexander Smolin
I'm currently learning Django and making electronic grade book. I am completely stuck after trying everything, but still cannot solve the problem. I will explain in detail and post all the relevant code below. I need to have two url pages "class_students" and "teacher_curre

Re: Common problem finding static files. Help appreciated.

2021-08-18 Thread Scott Zimmerman
Resolved by changing nginx config file from above to this: location /static { root /home/www/wcsdg/main; } On Wednesday, August 18, 2021 at 8:03:00 AM UTC-5 Scott Zimmerman wrote: > > I deployed django + nginx + gunicorn, and DEBUG = True. Nginx/error.log > shows that m

Common problem finding static files. Help appreciated.

2021-08-18 Thread Scott Zimmerman
I deployed django + nginx + gunicorn, and DEBUG = True. Nginx/error.log shows that my problem finding static files is a concatenation mistake (caps added)... "/home/www/wcsdg/main/STATIC/STATIC/main/styles.css" failed (2: No such file or directory), It should inst

I've got a problem with using factory with python zeep

2021-06-28 Thread Sencer Hamarat
Would you please checkout this StackOverflow link: https://stackoverflow.com/questions/68160839/python-zeep-xml-factory-exception-with-no-namespace-defined-for-the-prefix Regards, Sencer HAMARAT -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Why turning off these uWSGI options fixed problem with 100% CPU spikes and freezing?

2021-06-26 Thread cseb...@gmail.com
UPDATE: The Django app stays up longer without these switches but now after about half a day the MEMORY spikes? I'm seeing the % memory used go up to around 80% which again freezes this Django app. I'm enabling verbose logs now. Any idea what would cause this behavior? cs -- You received

Why turning off these uWSGI options fixed problem with 100% CPU spikes and freezing?

2021-06-26 Thread cseb...@gmail.com
One Django website was freezing about every HOUR with no indication in logs what the problem was. I was seeing CPU utilization spike to 100%. I removed these switches below and it seemed to have fixed the problem. --master

Re: Problem to connect to database only when run "migrate"

2021-06-22 Thread Heron
escreveu: >> >>> >>> have you configured mysql database in settings.py? >>> Em sábado, 19 de junho de 2021 às 09:19:09 UTC-3, her...@gmail.com >>> escreveu: >>> >>>> Hello, >>>> >>>> I getting problem to connec

Re: Problem to connect to database only when run "migrate"

2021-06-22 Thread Aziz Meknassi
> >> >> have you configured mysql database in settings.py? >> Em sábado, 19 de junho de 2021 às 09:19:09 UTC-3, her...@gmail.com >> escreveu: >> >>> Hello, >>> >>> I getting problem to connect to database only when run "migrate". I'm >&

Re: Problem to connect to database only when run "migrate"

2021-06-21 Thread Heron
e 2021 às 09:19:09 UTC-3, her...@gmail.com > escreveu: > >> Hello, >> >> I getting problem to connect to database only when run "migrate". I'm >> able to use on apache/wsgi and runserver, so it's seens that connection to >> database is oka

Re: Problem to connect to database only when run "migrate"

2021-06-20 Thread Luciano Martins
have you configured mysql database in settings.py? Em sábado, 19 de junho de 2021 às 09:19:09 UTC-3, her...@gmail.com escreveu: > Hello, > > I getting problem to connect to database only when run "migrate". I'm able > to use on apache/wsgi and runserver, so it's

Problem to connect to database only when run "migrate"

2021-06-19 Thread Heron
Hello, I getting problem to connect to database only when run "migrate". I'm able to use on apache/wsgi and runserver, so it's seens that connection to database is okay. Dango is running on docker. Anyone can help me ? bash-4.2# python manage.py migrate /usr/local/lib/pyth

Django app problem

2021-06-14 Thread Inside Believer
DataTables warning: table id=filters-result-table - Ajax error. For more information about this error, please see http://datatables.net/tn/7 $('#input-search').keypress(function (e) { var key = e.which; if (key == 13) // the enter key code {

Re: Facing problem to display dynamic (name,description of places AND price)on the web page using Django

2021-06-06 Thread Bradie Poa
>>return dest3 >> >> dests = [...] >>return render(...) >> On Jun 3 2021, at 9:27 am, UJJWAL AGRAWAL wrote: >> >> Dear team >> >> I am facing a problem with error >> >> While wri

  1   2   3   4   5   6   7   8   9   10   >