Re: raise SuspiciousFileOperation("Could not derive file name from '%s'" % name) on Running collectstatic command

2024-07-24 Thread 'Amitesh Sahay' via Django users
uesday, 23 July, 2024 at 08:59:59 pm IST, Maadis Ie wrote: Hi, I am trying to deploy my first Django app (5.0.7). When I run 'python mange.py collectstatic' it copies some of the admin and css files and exit with the following error message: "python manage.py collectstatic You

Contract Full Stack Django Engineer

2024-06-26 Thread 'Bernard Mallala' via Django users
About Project: I am bootstrapping a data-heavy AI-enabled system tailored for early adopters and looking for a seasoned Django Python Engineer with a strong background in full-stack software development to collaborate with. You will lead development efforts starting with: 1

python/django/vs code

2024-06-05 Thread 'Mee “MeeGrp” Grp' via Django users
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.google.com/d/msgid/django-users/30b6b324-22b2-44f1-b2dd-b0b034ac2f61n%40googlegroups.com.

Merging results of two .html files show up in one web page

2024-06-05 Thread 'Mee “MeeGrp” Grp' via Django users
I am working on an Inventory System ( just a trial - for learning purposes) platform - Python framework - Django VS Code/Sqlite3 Question: I have two html files 1. view_sales.html 2.total_sales.html view_sales.html Sales Product Total_price Sales

Weird issue with a form

2024-03-19 Thread 'Simon Connah' via Django users
then moved to /user/accounts/. I have added the get_success_url to point to the correct URL using reverse but even that doesn't work. Can someone help me out with this please? Thank you. Simon. -- You received this message because you are subscribed to the Google Groups "Django u

Unable to get a simple two level dependent dropdown working

2024-03-18 Thread 'Animesh Gupta' via Django users
Can someone help me understand what am I doing wrong in this django dependent dropdown code? My selection for the first dropdown menu is one of ("NetEng", "ITDE") and when I select, let's say "NetEng", an ajax call is made to the ajax function in the backend v

Registration form in template

2024-03-17 Thread 'Simon Connah' via Django users
? Thank you. Simon. -- 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 vi

Re: Slick Reporting Dashboard

2024-02-18 Thread 'Vip Busine' via Django users
led directly, now the Filter and Export > CSV options are shown. > How can I get the Filters and Export CSV to appear in the dashboard > renderings? > > Any insights appreciated! > Thanks - Rupert > -- You received this message because you are subscribed to the Google

Re: Working on a Django server Need Team to join me

2024-02-15 Thread DJANGO DEVELOPER
4, 6:35 PM Space1 Technology >> wrote: >> >>> Anyone interested in working with me am working on a personal Django >>> server project for my flutter frontend app. It’s a project am working on to >>> boost my portfolio. Kindly send me hi. It’s a complex project w

Re: Working on a Django server Need Team to join me

2024-02-15 Thread DJANGO DEVELOPER
Hi. I am interested however your link is not working. On Thu, 15 Feb 2024, 6:04 pm Space1 Technology, wrote: > Anyone interested in working with me am working on a personal Django > server project for my flutter frontend app. It’s a project am working on to > boost my portfolio. Kindl

Django project website UX: call for help!

2024-02-03 Thread 'Niccolò Mineo' via Django users
Hello everyone, at 20tab we just finished collaborating with the Django Software Foundation to improve the Django project website's accessibility and usability. We now need you to help us understand how involved people are in the Django project and how much they care for good UX. Fill out

Re: Django Channels and multi-tenant will this be a world of hurt?

2024-01-27 Thread 'Sebastián García' via Django users
rotocolTypeRouter({ > 'websocket': ( > MTSchemaMiddleware( > URLRouter( > chat.routing.websocket_urlpatterns > ) > ) > ) > }) > > After you do this, you will be able to access the `schema_name` and > `multitenant` variables inside your cons

reg: Django custom middleware

2024-01-24 Thread 'Amitesh Sahay' via Django users
Hi All, I have written a custom Django middleware to do retries and catch exception if there is any connection related issues between two servers. Below is the code snippet. from requests.adapters import Retry, RetryError, HTTPAdapter, MaxRetryError, ConnectTimeoutError, ProtocolError

Re: login with token instead of password

2024-01-16 Thread 'Kasper Laudrup' via Django users
Isn't this pincode_auth_app just the same as the standard Django password authentication, only the password is stored in plain text and limited to four characters? Maybe I'm missing something? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to

Disable the admin of "Site"

2024-01-03 Thread 'Thomas Lionel Smets' via Django users
ug) server crashes with the following trace : ``` INFO autoreload P86005 T140161586511872 Watching for file changes with StatReloader Exception in thread django-main-thread: Traceback (most recent call last): File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner sel

Re: activate source my_env/bin/activate

2023-12-19 Thread 'Vip Busine' via Django users
day la nhom https://groups.google.com/g/django-users/c/959lKG6Oreg Vào lúc 00:50:52 UTC+7 ngày Thứ Năm, 16 tháng 11, 2023, Lutaaya Jamil đã viết: > Do as Mr. Jung said, and ensure to be in the same folder where your > virtual env is > On Wednesday, 15 November 2023 at 18:34:04 UTC+3

Re: Microsoft Teams Free Download Mac

2023-12-08 Thread 'Kasper Laudrup' via Django users
y a bot. Just forward it to ab...@gmail.com (since it comes from a gmail account) and hope that the account will be closed. Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: auth_user' doesn't exist

2023-12-02 Thread 'Kasper Laudrup' via Django users
ngs you need to try more things. At some point you'll have tried really many things and then it will happen. In cases like these you have to try many, many things. Hope that helps. Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups &q

Re: Issue in Django-RIver workflow Package

2023-11-30 Thread 'Kasper Laudrup' via Django users
On 30/11/2023 11.29, Akshay Prakash wrote: I have an issue in Django-River Package. My River version is 3.3.0(Django=3.2,python=3.9).i share the screenshot of the error. You can report issues to the Django-river project here: https://github.com/javrasya/django-river/issues but the

Re: Encrypt entire Django project and decrypt it in ram when starting server

2023-11-20 Thread 'Kasper Laudrup' via Django users
On 20/11/2023 12.02, Om Khade wrote: Hey Kasper, We have a method to securely distribute the key for decryption in a way that the client won't be able to use it for decryption on his own but to run the Django project we will have to decrypt the code at some location, I want to make it

Re: Encrypt entire Django project and decrypt it in ram when starting server

2023-11-20 Thread 'Kasper Laudrup' via Django users
On 20/11/2023 07.25, Om Khade wrote: Is there a way to decrypt the code in memory or run the Django project from the encrypted code without exposing the decrypted code to the client? No, of course there isn't. In order to decrypt the data the client needs the key. You can try to obscu

Re: GeoDjango Hosting

2023-11-16 Thread 'ch...@routh.io' via Django users
>> Ubuntu or Debian. Anyone know of any good solutions? >>>> >>>> Thank you. >>>> >>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Django users" group. >>>> T

Re: GeoDjango Hosting

2023-11-16 Thread 'ch...@routh.io' via Django users
s are either Ubuntu or > Debian. Anyone know of any good solutions? > > Thank you. > -- 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-user

Re: New User of Django

2023-11-15 Thread 'Kasper Laudrup' via Django users
On 15/11/2023 13.57, Yonis Abdulkadir wrote: I need you to give me an explanation about how i can install and use it thank you so much https://docs.djangoproject.com/en/4.2/intro/ -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Encrypt entire Django project and decrypt in ram to start server.

2023-11-13 Thread 'Kasper Laudrup' via Django users
On 13/11/2023 06.15, Om Khade wrote: I want to save my Django project on a shared server in encrypted format and build a script that decrypts the Django project files in ram and start the server so that code is not leaked or anyone is not able to tamper with it. Is there a way to do this

question-test

2023-10-17 Thread 'RAUL OLAZAGOITIA' via Django users
Hi group I am reaching out to try and ask for django common issues. Can't see your comments on the group. 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 receiving emails f

Re: JOB

2023-10-16 Thread 'Kasper Laudrup' via Django users
On 15/10/2023 21.55, Adesewa Lola wrote: Hi currently i'm having issues with my django. We can all have issues with our django from time to time and it's nothing to be embarrassed about. Good that you are being honest about it. Hope you'll get better soon. Best regards,

Strange bug with Firefox

2023-10-14 Thread 'Simon Connah' via Django users
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.google.com/d/msgid/django-users/zT7ozAu9QZo

Re: Unit test to make sure correct template is returned from a specific URL?

2023-09-25 Thread 'Simon Connah' via Django users
Sun, 24 Sept 2023 at 22:37, 'Simon Connah' via Django users > wrote: > > > I can write a unit test which checks say the title on a page and compares > > it to a string but that is really prone to breakage. What I want to do > > instead is to check that the templat

Unit test to make sure correct template is returned from a specific URL?

2023-09-24 Thread 'Simon Connah' via Django users
? -- 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

Re: Splitting views.py and urls.py into a directory rather than single files

2023-09-18 Thread 'Simon Connah' via Django users
s file > > On Mon, Sep 18, 2023 at 5:28 PM 'Simon Connah' via Django users > wrote: > > > Hi, > > > > I have an app which has a lot of views and URLs and keeping them in just > > one file makes it really hard to manage because it is so long. I'd l

Splitting views.py and urls.py into a directory rather than single files

2023-09-18 Thread 'Simon Connah' via Django users
way to go about doing that is. Can someone point me in the right direction please? Thank you! Simon. -- 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 em

Re: My first Django project

2023-08-31 Thread 'Kasper Laudrup' via Django users
On 29/08/2023 10.52, Noah Dara wrote: hi I'm new in Django I need your help my project is retirning the following in theterminal PS C:\Users\user\projects> & C:/Users/user/.virtualenvs/projects-O4ZjmZLG/Scripts/Activate.ps1 & : File C:\Users\user\.virtualenvs\projects-

Re: How to create an individual instagram message into threads?

2023-08-28 Thread 'Steven Mapes' via Django users
ain new thread. > 3. It would be nice each thread has a title of the market place item so > that same users can go back to previous history of messages on that > particular item whenever they want. > > I'm wondering whether anyone has implemented the above features using >

Re: How to access gmail

2023-08-27 Thread 'Kasper Laudrup' via Django users
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.google.com/d/msgid/django-users/2e0feaab-2b9d-4901-9546-29

Re: UpdateView and DeleteView

2023-08-27 Thread 'Simon Connah' via Django users
Aug 26, 2023, 16:23 'Simon Connah' via Django users > wrote: > > > Thank you! That is very helpful. > > > > > > --- Original Message --- > > On Saturday, August 26th, 2023 at 14:07, Ruby > > wrote: > > > > &g

Re: UpdateView and DeleteView

2023-08-26 Thread 'Simon Connah' via Django users
efault/#django.contrib.auth.decorators.user_passes_test) > > On Sat, Aug 26, 2023, 11:20 'Simon Connah' via Django users > wrote: > > > I want to make sure that the only people who can update and delete an > > object are either superusers or the person that originally created them but > > I&#x

UpdateView and DeleteView

2023-08-26 Thread 'Simon Connah' via Django users
. -- 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.googl

Re: Connect::: frontend react and backend django

2023-08-23 Thread 'Kasper Laudrup' via Django users
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.google.com/d/msgid/django-users/09e8df4d-9d4a-dbf1-4574-47ec9ddfb08e%40stacktrace.dk.

Re: hello i have made my crud and it works well. but when i add fields in the class. the crud does not work

2023-08-10 Thread 'Kasper Laudrup' via Django users
ion if the normal solution will work just fine. That is, of course, assuming that you want things to work. Maybe that's not the case? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: hello i have made my crud and it works well. but when i add fields in the class. the crud does not work

2023-08-10 Thread 'Kasper Laudrup' via Django users
se 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.google.com/d/msgid/django-users/417

Re: Emali Response From the Django server.

2023-07-11 Thread 'Kasper Laudrup' via Django users
.net/hc/en-us/articles/156454042-How-to-configure-an-SMTP-connection-for-PHP-and-other-scripts-and-websites 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 rece

Re: job openings module lead 2+ years exp and product manager

2023-07-04 Thread 'Abul Kashim 1811949642' via Django users
gt;> @avichal.mis...@adcuratio.com >> >> -- >> 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,

Django Async support

2023-07-03 Thread 'Hamza Pervez' via Django users
Hi, We have been trying to use Django with Uvicorn via ASGI interface. As our use case is that our service acts as a wrapper for a 3rd party API service so using ASGI was a better choice because most of the time our service will be waiting on 3rd party service. Now the problem, I was

Re: Hello everyone,happy to be here.

2023-07-01 Thread 'Kasper Laudrup' via Django users
like this. Hope that helps. 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 receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To vie

Re: Freelance Django and Python work

2023-06-30 Thread 'Abul Kashim 1811949642' via Django users
. Guy Sylvestre >> a écrit : >> >>> Je suis intéressé . >>> >>> >>> Le mar. 13 juin 2023, 11:30, אורי a écrit : >>> >>>> Hi, >>>> >>>> I'm looking for a programmer to hire as a freelancer for Django an

Re: In Need of Collaboration With a Django Dev in Europe

2023-06-20 Thread DJANGO DEVELOPER
Hello Everyone, >> >> I'm the lead developer at ZeroTen Technologies and we are looking at >> expanding our business to the European Market. >> >> We build Software, Mobile Apps and Websites. Most of our website products >> are built with Django. >> >&g

Re: Freelance Django and Python work

2023-06-14 Thread 'Abul Kashim 1811949642' via Django users
Hi, you can hire me, easily, i provided a e-commerce website or other many system using django as a freelancer. I am also doing a remote job. On Thu, Jun 15, 2023 at 12:29 AM Shams Ulhaq wrote: > Hi > I am shamasulhaq > From Pakistan > I am working on python > Django Django

Re: Slow Performance of Django Web App

2023-06-12 Thread 'Steven Mapes' via Django users
To start with I'd look at upgrading the project to the latest version of Django and Python as Python 3.10 and 3.11 have some performance improvements and you'll need to be on a Django 4 version to support them. That aside it sounds like you've got good caching architecture set

Re: how to convert to Django 3 or 4

2023-06-12 Thread 'Steven Mapes' via Django users
Ah Python 2.7, you'll need to upgrade through to at least 3.8 so unless it's a huge project where you have time to upgrade through the Django Versions and different versions of Python as you go, you may just want to create a new project and lift the code as you go. On Friday, 9 June

Re: how to convert to Django 3 or 4

2023-06-08 Thread 'Steven Mapes' via Django users
nd on the project. I went from 1.11 to 3.2 in a day for one but most of the code was bespoke without may external packages to worry about. Those could also cause you issues. Since the code is Django 1.4 what version of python is it also using? On Thu, Jun 8, 2023, 21:31 Rogerio Carrasqueira &l

Re: how to convert to Django 3 or 4

2023-06-08 Thread 'Steven Mapes' via Django users
I've used it to go from Django 3 to 4 and to move a project from 1.11 to 2.2. It doesn't do everything for you but it's a great start. I've personally moved from 1.8 through to 4.2.2 but that was during their development lifecycle. Moving up to 1.7 and then 1.7 to 1.8 and 1.8

Re: how to convert to Django 3 or 4

2023-06-07 Thread 'Steven Mapes' via Django users
I'd suggest looking into using Adam Johnson's Django-Upgrade told -https://github.com/adamchainz/django-upgrade it will help you move between versions On Tuesday, 6 June 2023 at 15:24:36 UTC+1 Paul Haguet wrote: > There is a lot of function who can change. > > https://doc

Re: Template doesn't run in browser

2023-06-02 Thread 'Kasper Laudrup' via Django users
If you want someone to spend their time writing a proper answer, start by writing a proper question. 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 receiving emai

Re: UPLOAD STATIC FILES

2023-05-29 Thread 'Kasper Laudrup' via Django users
On 29/05/2023 04.24, Obiorah Callistus wrote: please how can i display .css and .js files in my template Have you considered reading the documentation? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users"

Re: group by "project"

2023-05-24 Thread 'Mohamed Yahiya Shajahan' via Django users
x27;], > 'project': item['project'] > } > serialized_data.append(serialized_item) > return Response(serialized_data) > > On Thursday, May 25, 2023 at 7:05:38 AM UTC+5:30 Muhammad Juwaini Abdul > Rahman wrote: > >> Do you re

group by "project"

2023-05-24 Thread 'Mohamed Yahiya Shajahan' via Django users
consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future. SAVE PAPER | Good for your planet | Good for your Business -- You received this message because yo

Re: I new to Django

2023-05-21 Thread 'Kasper Laudrup' via Django users
On 21/05/2023 16.26, khaled alshadbi wrote: Hello friends please help me to start from scratch... I want to build sales program using Python and Django https://docs.djangoproject.com/en/4.2/intro/ Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the

Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma' via Django users
fferences in output. > > On Wednesday, May 10, 2023 at 2:18:33 PM UTC+2 Vishesh Mangla wrote: > >> If I understood the error right. >> >> On Wed, May 10, 2023 at 5:47 PM Vishesh Mangla >> wrote: >> >>> Probably this would help: >>> https://

Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma' via Django users
flow.com/questions/8609192/what-is-the-difference-between-null-true-and-blank-true-in-django >> >> On Wed, May 10, 2023 at 5:45 PM 'Bob Aalsma' via Django users < >> django...@googlegroups.com> wrote: >> >>> Sorry Vishesh, thanks for the quick answ

Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma&#x27; via Django users
ull but null=False is not set >> >> On Wed, 10 May, 2023, 17:27 'Bob Aalsma' via Django users, < >> django...@googlegroups.com> wrote: >> >>> I'm trying to test a django-admin command and don't understand why the >>> tests give erro

testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma&#x27; via Django users
I'm trying to test a django-admin command and don't understand why the tests give errors on the code while the code works as expected. I'm under the impression that the *raise CommandError* is ignored by the test, but don't understand why this would be. Please help. Ru

Re: I need to create account using sso Google in Django rest framework Amy suggestions?

2023-05-04 Thread 'Kasper Laudrup&#x27; via Django users
On 04/05/2023 16.33, carlos wrote: Try this tuto https://episyche.com/blog/how-to-configure-google-sso-in-django-rest-framework-with-react <https://episyche.com/blog/how-to-configure-google-sso-in-django-rest-framework-with-react> I'm not the one having problems finding tutor

Re: I need to create account using sso Google in Django rest framework Amy suggestions?

2023-05-03 Thread 'Kasper Laudrup&#x27; via Django users
Maybe this would be a start: https://googlethatforyou.com?q=create%20account%20using%20sso%20Google%20in%20Django%20rest%20framework -- 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: I have a problem with visual studio code

2023-05-03 Thread 'Kasper Laudrup&#x27; via Django users
setup is etc. This is meant to help you. 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 receiving emails from it, send an email to django-users+unsubscr...@googl

Re: Django forms data save using ajax

2023-04-15 Thread 'Kasper Laudrup&#x27; via Django users
On 15/04/2023 12.31, Prashanth Patelc wrote: Hi all, How to save employees information using ajax with django form , id should automatic generation ? Try this helpful link: https://googlethatforyou.com?q=django%20ajax%20form Kind regards, Kasper Laudrup -- You received this message

Re: Django urls error

2023-04-15 Thread 'Kasper Laudrup&#x27; via Django users
ure out how that could be. 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 receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To vi

Re: Report a Django bug how

2023-04-14 Thread 'Kasper Laudrup&#x27; via Django users
On 14/04/2023 10.17, WILSON TALENGA wrote: Hey guys, i need help, i have created my django project, added students to the system as admin but they don't reflect when i run the server. what could the issue be. below is views.py and index.html Start a new thread instead of replying

Re: Report a Django bug how

2023-04-14 Thread 'Kasper Laudrup&#x27; via Django users
On 14/04/2023 01.06, Michael Starr wrote: Hi, I double checked my code and Django is not displaying images. I'd like to report the bug but I need to be a django employee to do that. So, if anyone knows anyone on linkedin that works for django, tell them images don't display (on an

Re: Migration running in shell, but no change in DB

2023-04-06 Thread 'Martin Heitmann&#x27; via Django users
jango_migrations. On the contrary there was a new entry in the django_migrations table of the default db. Does this help? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop recei

Re: Migration running in shell, but no change in DB

2023-04-06 Thread 'Martin Heitmann&#x27; via Django users
eturn None >>>> >>>> You wrote "What happens when you put some logging there, or raise an >>>> exception on None/False? ". I would love to do that but I do not know, >>>> where I must put that. I guess I must find some place in the code that &g

Re: Migration running in shell, but no change in DB

2023-04-06 Thread 'Martin Heitmann&#x27; via Django users
I must find some place in the code that >> calls allow_migrate and check what the return value is, right? >> >> On Wednesday, April 5, 2023 at 12:54:58 PM UTC+2 Jason wrote: >> >>> so, for your original boolean migration, >>> >>> https://code.djangoproject.co

Re: Migration running in shell, but no change in DB

2023-04-05 Thread 'Martin Heitmann&#x27; via Django users
esday, April 5, 2023 at 12:54:58 PM UTC+2 Jason wrote: > so, for your original boolean migration, > > https://code.djangoproject.com/ticket/470 > > https://stackoverflow.com/questions/32280343/default-value-of-djangos-model-doesnt-appear-in-sql > > Adding a default value doesn&#x

Re: How to get data from another function in view to show it on template ?

2023-04-04 Thread 'Kasper Laudrup&#x27; via Django users
- 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.google.com

Django Admin does not use `get_FOO_display`

2023-04-04 Thread 'Ibrahim Abou Elenein&#x27; via Django users
I had a model having a field that uses Choices status = FSMField(default=STATUSES.PENDING, choices=STATUSES, protected=True) I did override the `get_status_display ` and its effect was not applied in the Django admin I looked up Django code and found ``` def display_for_field(value

Re: Django error while running

2023-04-04 Thread 'JOSE GONZALEZ SANCHEZ&#x27; via Django users
>>> Is almost always is due to a problem with your settings INSTALLED_APPS, >>> particularly if django\apps\registry.py Is further up the trace. >>> >>> A missing comma between items, perhaps? >>> >>> It would indeed be nice if Django would output

Re: Migration running in shell, but no change in DB

2023-04-02 Thread 'Martin Heitmann&#x27; via Django users
ny SQL. >> >> Does anyone know where this is no SQL in the output? >> >> On Saturday, April 1, 2023 at 3:46:41 PM UTC+2 Martin Heitmann wrote: >> >>> Dear Jason >>> Thanks for your reply. I will gladly do that. This is the latest >>> migra

I am struggling with calling consumer.py function from views to consumer in django here ismy code. Please help me. I am calling Asyncwebsocketconsumer

2023-04-02 Thread 'Sneha Vishwakarma&#x27; via Django users
channel_layer = get_channel_layer() async_to_sync(channel_layer.group_send( 'kafka', { 'type': 'kafka.message', 'message': 'Test message' } )) return HttpResponse('Done') -- You received

Building a modular app?

2023-04-02 Thread 'Simon Connah&#x27; via Django users
Hi, I want to make a blogging platform and have a question about organising the project. With my blog, I'll have the blog in one Django app and then have something like a forum in another app, along with additional functions in other apps. Also, I'd like to have a single-user system

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann&#x27; via Django users
utput? > > On Saturday, April 1, 2023 at 3:46:41 PM UTC+2 Martin Heitmann wrote: > >> Dear Jason >> Thanks for your reply. I will gladly do that. This is the latest >> migration file: >> >> # Generated by Django 3.2.10 on 2023-04-01 13:45 >> >> f

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann&#x27; via Django users
dels.py >> in another app and the result is the same. Do you have any advice how to >> narrow this down? >> >> Best regards >> Martin >> > -- You received this message because you are subscribed to the Google Groups "Django users&quo

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann&#x27; via Django users
Dear Jason Thanks for your reply. I will gladly do that. This is the latest migration file: # Generated by Django 3.2.10 on 2023-04-01 13:45 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('Ob

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann&#x27; via Django users
> From: 'Martin Heitmann' via Django users > Reply: django...@googlegroups.com > Date: 31 March 2023 at 19:46:02 > To: Django users > Subject: Migration running in shell, but no change in DB > > Hello everyone >> >> I have a project with multiple apps in it

Migration running in shell, but no change in DB

2023-03-31 Thread 'Martin Heitmann&#x27; via Django users
altered models.py in another app and the result is the same. Do you have any advice how to narrow this down? Best regards Martin -- 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

Re: User creation

2023-03-28 Thread 'Kasper Laudrup&#x27; via Django users
eived 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.google.com/d/msgid/d

Re: Failed to send Email by Django

2023-03-24 Thread 'Kasper Laudrup&#x27; via Django users
On 24/03/2023 05.16, bing wrote: I am using the email module in Django to inform of users with their registration. Sometimes it can send email successfully, but more often, it fails. I searched for many solutions, but did not change this situation. That is not really related to Django but

Re: Help on Django + Plotly integration

2023-03-22 Thread 'Kasper Laudrup&#x27; via Django users
On 22/03/2023 15.29, Praveen Kumar wrote: Hi Team, I need help in implementing Plotly with Django for interactive dashboards. Please suggest. Try following this: https://googlethatforyou.com?q=plotly%20django Kind regards, Kasper Laudrup -- You received this message because you are

Re: Django v3.2 broken admin interface due to malicious JSON value

2023-03-09 Thread 'Johannes Filter&#x27; via Django users
n 8/03/2023 7:49 am, hi via Django users wrote: > > Hello everybody, > > I’ve used a fuzzer on my Django v3.2 project that resulted in a broken > admin interface. I’m not sure whether this is a bug or a rough edge case. > > I’m using Python 3.9.13 with Django 3.2.18 with Post

Django v3.2 broken admin interface due to malicious JSON value

2023-03-07 Thread hi via Django users
Hello everybody, I’ve used a fuzzer on my Django v3.2 project that resulted in a broken admin interface. I’m not sure whether this is a bug or a rough edge case. I’m using Python 3.9.13 with Django 3.2.18 with Postgres. I have a Model with a JSONField and also added the model to my admin view

invalit format for join_date when I ran a migration

2023-03-01 Thread 'Alejandro Hernández Noguera&#x27; via Django users
Hi, I'm trying to run the command *'python manage.py migrate auth' *but im getting this error '*django.db.utils.OperationalError: (1067, "Invalid default value for 'date_joined'")*'. I'm using Django *3.2.9* and MySQL *8.0.32-0ubuntu0.22.04.2

Re: Heroku error

2023-02-22 Thread 'Kasper Laudrup&#x27; via Django users
On 22/02/2023 06.36, Benjamin Telford wrote: I am going to upload my new version into Heroku. But something went wrong. That sucks :-( Maybe you should try again later? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django

Re: How can i Open binary files with Django?

2023-02-14 Thread 'Kasper Laudrup&#x27; via Django users
you're looking for: https://pypi.org/project/python-magic/ 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 receiving emails from it, send an email to django

Re: How to get started with contibution

2023-02-05 Thread 'Kasper Laudrup&#x27; via Django users
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.google.com/d/msgid/django-users/17d6d075-745f-7305-9b99-f10b4ce31b81%40sta

Re: Django Froala Editor

2023-02-03 Thread 'Steven Mapes&#x27; via Django users
Sorry hit send too soon. An alternative is to update your settings.py entry for FROALA_STORAGE_BACKEND to point to a different backend as per their docs https://github.com/froala/django-froala-editor#other-settings On Friday, 3 February 2023 at 14:30:12 UTC Steven Mapes wrote: > Easiest

Re: Django Froala Editor

2023-02-03 Thread 'Steven Mapes&#x27; via Django users
tor_file_upload'),* Take a look at those view here https://github.com/froala/django-froala-editor/blob/master/froala_editor/views.py Then create your own views doing what you want but serve them from the URL path that these would be on by default so that they are called instead. On Frida

database design approach

2023-02-01 Thread datasci via Django users
I am designing a database for a django project. I already read this tutorial that I found really useful: https://learndjango.com/tutorials/database-design-tutorial-beginners I have a question regarding the normalization. The normalization is important due that we need to reduce redundant data

Re: Django microservice authentication problem.

2023-01-28 Thread 'Steven Mapes&#x27; 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 understan

Re: Tutorial Django app, part 1

2023-01-24 Thread 'Kasper Laudrup&#x27; via Django users
On 24/01/2023 12.14, javier lopez wrote: I'm new with Django. Trying to code te sample of tutorial i got the error that shows in the images. Python version 3.11.1 and 3.9 too. Same error. Anyone can help me? Both errors are mentioned in the tutorial at https://docs.djangoproject.com/e

Re: how can i solve this error?

2023-01-23 Thread 'Kasper Laudrup&#x27; via Django users
want someone else to help you consider taking the time to write an actual question instead. 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 receiving emails from it,

Upgrading Django from 3.2.16 to 4.1.x

2023-01-16 Thread 'Ellinghaus, Lance J&#x27; via Django users
I will be upgrading from Django 3.2.16 to 4.1.x and wanted to know if anyone has any suggestions. I am using oracle as the backend. The release notes do not go into much detail. Do I just need to install the Django 4.1.x software and run the makemigrations to do the upgrade? Thank you, Lance

  1   2   3   4   5   6   7   8   9   10   >