Re: Problem with static files inDjango-Oscar

2025-04-05 Thread KEVIN DAVID
project because you have DEBUG = False in that > case. > > Let me know if this worked! > > Hugo > > On Sunday, March 30, 2025 at 4:44:32 PM UTC-3 Szawunia wrote: > >> Hi everybody, >> I have problem with my static files in my Django project, running local. >&

Re: Problem with static files inDjango-Oscar

2025-04-04 Thread Aniket Raj Singh
onday, 31 March 2025 at 1:14:32 am UTC+5:30 Szawunia wrote: > Hi everybody, > I have problem with my static files in my Django project, running local. > Actually Django-Oscar, but settings files is Django. There are not founded > (404 error). I have all my static files in my projec

Re: Problem with static files inDjango-Oscar

2025-03-30 Thread Hugo Chavar
hat case. Let me know if this worked! Hugo On Sunday, March 30, 2025 at 4:44:32 PM UTC-3 Szawunia wrote: > Hi everybody, > I have problem with my static files in my Django project, running local. > Actually Django-Oscar, but settings files is Django. There are not founded >

Re: Problem with static files inDjango-Oscar

2025-03-30 Thread Faisal Tahseen
onday, 31 March 2025 at 00:44:32 UTC+5 Szawunia wrote: > Hi everybody, > I have problem with my static files in my Django project, running local. > Actually Django-Oscar, but settings files is Django. There are not founded > (404 error). I have all my static files in my project di

Re: Problem with static files inDjango-Oscar

2025-03-30 Thread Abigaba Abraham
Try installing Pillow if you didn't On Sunday, March 30, 2025 at 10:44:32 PM UTC+3 Szawunia wrote: > Hi everybody, > I have problem with my static files in my Django project, running local. > Actually Django-Oscar, but settings files is Django. There are not founded > (404 e

Problem with static files inDjango-Oscar

2025-03-30 Thread Szawunia
Hi everybody, I have problem with my static files in my Django project, running local. Actually Django-Oscar, but settings files is Django. There are not founded (404 error). I have all my static files in my project directory (where 'manage.py' is). My settings: STATIC_URL

Re: Problem with displaying media files

2025-01-08 Thread Ewa Adamus
Hi, You’re right, the problem was with passing data to the template in my view. It is working now!!! Thank you very much I should send you my best honey! Best regards to you Ewa > On 8 Jan 2025, at 17:51, RANGA BHARATH JINKA wrote: > > Hi, > > The issue is with how you're passing the m

Re: Problem with displaying media files

2025-01-08 Thread RANGA BHARATH JINKA
Hi, The issue is with how you're passing the mymiody data to the template. In your view, you are using: mymiody = Miody.objects.all().values() The .values() method returns dictionaries instead of model instances, which means you lose the ability to call .url on the ImageField. Solution: Change

Problem with displaying media files

2025-01-08 Thread Szawunia
Hi, I completely stuck with displaying media files - 'ImageField' in my html. Static files are displayed ok. I've read the 'whole internet' that topic and still nothing. I'm working on mac OS Sonoma, Django 5.1.3, Python 3.11. My Html: My model: miody_foto = models.ImageField(upload_to = 'miod

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 wh

Re: Problem with my website

2023-07-12 Thread Peter Benjamin Ani
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 problem with

Re: Problem with my website

2023-07-12 Thread Chetan Ganji
; > 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
ty reasons. Remember to restart your Django server after making any changes to the settings file. On Wed, Jul 12, 2023 at 4: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 page but when it is in Tru

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: 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 an

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 Hi

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 shoul

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 python

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 2,

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: 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 gratefull > > lin

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 -- You received this message because you are subscribed to the Google Groups "Django us

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

2022-03-02 Thread UGC
Hey all, I have the models .py with employee and all the info. With one click i want to render all the info of my employee. When i click on the button i see the data on my js console , but i dont see it come on the page frontend. i think i have problems with the key but i dont know. here is the

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 th

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

2021-06-26 Thread cseb...@gmail.com
--enable-threads --pcre-jit --thunder-lock Is there some problem with threads or something? What is weirder is that everything has been fine

Re: Problem with get_absolute_url()

2021-04-26 Thread Kelvin Sajere
: django-users@googlegroups.com > Subject: Re: Problem with get_absolute_url() > > In your URL pattern, just indicate that the audit URL pattern must first > go to “audit/{id}/”,and intro URL pattern to “intro/{id}/”. > > On Mon, Apr 26, 2021 at 03:49 Mike Dewhirst wrote: > >&

Re: Problem with get_absolute_url()

2021-04-26 Thread Mike Dewhirst
Many thanks Kelvin :-)M--(Unsigned mail from my phone) Original message From: Kelvin Sajere Date: 26/4/21 18:12 (GMT+10:00) To: django-users@googlegroups.com Subject: Re: Problem with get_absolute_url() In your URL pattern, just indicate that the audit URL pattern must first

Re: Problem with get_absolute_url()

2021-04-26 Thread Kelvin Sajere
In your URL pattern, just indicate that the audit URL pattern must first go to “audit/{id}/”,and intro URL pattern to “intro/{id}/”. On Mon, Apr 26, 2021 at 03:49 Mike Dewhirst wrote: > This code in the chemical model indicates that I'm trying to display two > different views of the same chemica

Re: Problem with get_absolute_url()

2021-04-26 Thread Kelvin Sajere
That's because both have the same path, and Django will always choose the one it sees first, in this case, the audit. Just change the path of any of the two will solve the problem. On Mon, Apr 26, 2021 at 03:49 Mike Dewhirst wrote: > This code in the chemical model indicates that I'm trying to d

Problem with get_absolute_url()

2021-04-26 Thread Mike Dewhirst
This code in the chemical model indicates that I'm trying to display two different views of the same chemical which has certain data in a details 1:1 record class Chemical(models.Model):     ...     def get_absolute_url(self):     detail = self.get_detail()     if detail and detail.rep

Re: Problem with adding image files to my object.

2021-03-07 Thread Ryan Nowakowski
On Thu, Mar 04, 2021 at 05:16:55AM -0800, N!KH!L wrote: > Hello everyone! > I am trying to convert multiple audio files to image files. > After data processing when i try to add o/p(image) using > below code, > *I am getting an error "'list' object has no attribute '_committed'" in my > browser*

Problem with adding image files to my object.

2021-03-04 Thread N!KH!L
Hello everyone! I am trying to convert multiple audio files to image files. After data processing when i try to add o/p(image) using below code, *I am getting an error "'list' object has no attribute '_committed'" in my browser* Here is my *views.py* def home(request): if request.method == 'PO

Re: Problem with admin site

2021-03-03 Thread kolo1
Re: Problem with admin siteThanx for your replay. I found my mistake. I have incorrectly implemented the qrcode software in urls.py in two applications in my project. I have: path('pdf_page', lost.home, include('qr_code.urls', namespace="qr_code"), name='p

Re: Problem with admin site

2021-03-03 Thread Mr. X Offencer
Show your model.py On Wed, 3 Mar 2021, 19:41 kolo1, wrote: > Hey > I've made some project with couples apps and now I'd like to manage by > admin site but when I try to open localhost:8000/admin I get error > """ > TypeError at /admin/'tuple' object is not a mappingRequest Method: > GETRequest U

Problem with admin site

2021-03-03 Thread kolo1
Hey I've made some project with couples apps and now I'd like to manage by admin site but when I try to open localhost:8000/admin I get error """ TypeError at /admin/'tuple' object is not a mappingRequest Method: GETRequest URL: http://localhost:8000/admin/ Django Version: 3.1.6Exception Type: Typ

Re: Problem with view

2021-02-25 Thread Umberto Moffa
e 00:54 Maurizio Faccin < > maurizio.fac...@tiscali.it> ha scritto: > >> >> Hello, >> I'am a newbie in usign django and django rest. >> I have a problem with a modelsetview >> The message error is: >> >> Exception Type: AttributeError >&g

Re: Problem with view

2021-02-24 Thread Maurizio Faccin
view Esempio: “from model. import Fatture as *qualsiasi altro nome* Il giorno gio 25 feb 2021 alle 00:54 Maurizio Faccin mailto:maurizio.fac...@tiscali.it>> ha scritto: Hello, I'am a newbie in usign django and django rest. I have a problem with a modelsetview The me

Re: Problem with view

2021-02-24 Thread Maurizio Faccin
I changed the classes name and works! Thank you Maurizio Il 25/02/2021 01:09, Kasper Laudrup ha scritto: On 24/02/2021 21.00, Maurizio Faccin wrote: Hello, I'am a newbie in usign django and django rest. I have a problem with a modelsetview The message error is: Exception

Re: Problem with view

2021-02-24 Thread Umberto Moffa
< maurizio.fac...@tiscali.it> ha scritto: > > Hello, > I'am a newbie in usign django and django rest. > I have a problem with a modelsetview > The message error is: > > Exception Type: AttributeError > Exception Value: > > type object 'Fatture' has

Re: Problem with view

2021-02-24 Thread Kasper Laudrup
On 24/02/2021 21.00, Maurizio Faccin wrote: Hello, I'am a newbie in usign django and django rest. I have a problem with a modelsetview The message error is: Exception Type: AttributeError Exception Value: type object 'Fatture' has no attribute 'objects'

Problem with view

2021-02-24 Thread Maurizio Faccin
Hello, I'am a newbie in usign django and django rest. I have a problem with a modelsetview The message error is: Exception Type: AttributeError Exception Value: type object 'Fatture' has no attribute 'objects' Exception Location: C:\Lavoro\Python\scam

Re: Hello, i have a problem with my logout

2020-12-16 Thread zeezee
Have you configured a 'logout' path and the corresponding view which handles the request in the application's *url.py* file ? On Wednesday, December 16, 2020 at 11:53:01 AM UTC-5 cuentaap...@gmail.com wrote: > Im new at learning django and i have this error when i try to create the > logout bu

Re: Problem with Postgresql-11.9 ??

2020-11-22 Thread Israel Adeyeye
Hey David, how are you? Please I need help. I have been battling with installing psycopg2 on my virtual environment to i can do migration, but I have not been able to do so because whenever i tried make migrations, I receive this Traceback (most recent call last): File "C:\Users\lenovo\Envs\

Re: Problem with superuser password

2020-11-08 Thread mustapha Ibrahim
Just add the same password as the first one you set. it's not appear don't worry about it On Sun, Nov 8, 2020, 04:21 oleg sobadov wrote: > I cant to add password > > in the field the password - cant to add nothing > > $ python manage.py createsuperuser > Username (leave blank to use 'olegs'): o

Problem with superuser password

2020-11-07 Thread oleg sobadov
I cant to add password in the field the password - cant to add nothing $ python manage.py createsuperuser Username (leave blank to use 'olegs'): oleg Email address: o...@gmail.com Password: Password (again): Error: Your passwords didn't match. Password: -- You received this message because yo

Problem with group by

2020-11-05 Thread Julio Gorocica
I have some records in the database and I need to group them by the year, the problem is: if the day or month changes then django isn't grouping them. This is my queryset: classifications = ClassificationDocument.objects.filter(Q(area=request_area) and Q(classification__is_active=True)) \

Problem with For and Forloop

2020-10-31 Thread Bak4nimE Oficial
Hello good, I have a problem using the for and for loop, what I want is that this process is repeated in all pages, so I put it in the base page.html. I want the last added in all pages like, in the blog, login and index. At this moment you can only see it in the index. This is code inside the

Re: Problem with Postgresql-11.9 ??

2020-10-16 Thread David Nugent
Apologies, I must have bumped send accidentally. To complete the sentence, unless fields have null=True then referencing unsaved records here will fail because there is no id in the dependent records to provide a reference. By default there is a constraint that the reference is not null. But r

Re: Problem with Postgresql-11.9 ??

2020-10-16 Thread David Nugent
In __your__ code, most certainly. :-) You didn't say what 'training', 'input_type' and 'gender' are. It is in one or more of those where the problem exists. Do these referenced save module instances? If they are not yet saved then it will trigger this error for fields where On 13 Oct 2020,

Re: Problem with Postgresql-11.9 ??

2020-10-12 Thread Joakim Hove
Thank you for answering. Just to be sure: you agree that the behavior I describe looks like a bug somewhere? man. 12. okt. 2020, 23:42 skrev Thomas Lockhart : > No one has answered yet, so here is some useless info… > > I’ve been using various combinations of Postgres and Django (currently > 12.4

Re: Problem with Postgresql-11.9 ??

2020-10-12 Thread Thomas Lockhart
No one has answered yet, so here is some useless info… I’ve been using various combinations of Postgres and Django (currently 12.4 and 3.1.2, respectively) and would think I would have stumbled on this at some point when using postgresql-11. But I probably haven’t tried 11.x with 3.1.2 specific

Problem with Postgresql-11.9 ??

2020-10-12 Thread Joakim Hove
[ This question is also posted to StackOverflow: https://stackoverflow.com/questions/64320386/django-postgresql-model-with-only-foreign-keys ] I have a model which looks like this: class InputTypeMap(models.Model): input_type = models.ForeignKey(InputType, on_delete=models.CASCADE) traini

Re: Having problem with a api data

2020-10-11 Thread Dvs Khamele
Hi do you hire contract based python/django freelancer? We can help you in this and related tasks at fair prices Best Regards, Divyesh Khamele, Pythonmate On Sun, 11 Oct 2020, 4:10 pm surendra bhaskar, < surendra.bhaska...@siesgst.ac.in> wrote: > Thank you > Surendra Ediga > > > > On Sun, Oct 11

Re: Having problem with a api data

2020-10-11 Thread surendra bhaskar
Thank you Surendra Ediga On Sun, Oct 11, 2020 at 12:55 AM Roger Gammans wrote: > This is really a JavaScript question not a Django one. > > But since I can see the problem... , > > The issue is 'dissmal-info' isn't a valid Js identifier, the browser is > trying to subtract the nonexistent 'in

Re: Having problem with a api data

2020-10-10 Thread Roger Gammans
This is really a JavaScript question not a Django one. But since I can see the problem... , The issue is 'dissmal-info' isn't a valid Js identifier, the browser is trying to subtract the nonexistent 'info' variable from the 'dismissal' value. You should be able to use ['dismissal-info'] instea

Having problem with a api data

2020-10-09 Thread surendra bhaskar
*I am able to get all data from api but not able to get certainvalues which have - in between of 2 words* "dismissal": "catch", "SR": 120, "6s": 0, "4s": 2, "M": 0, "B": 10, "R": 12, "di

Problem with django-social-share

2020-05-26 Thread sunday honesty
Hello develops, hope you guys are doing well. Really thankful for all those who make out time to answer our varrying questions. When I used django-social_share, everything worked fine until I added custom templates. After creating the templates and styling with W3.CSS, the social link didn't di

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-19 Thread Hella Nick
你帮我获得加拿大的工作移民签证,我就可以帮你解决问题。 在 2020年5月17日星期日 UTC+8上午4:51:45,chaitan写道: > > Hi, I am facing ModuleNotFoundError in my Django application. It got > configured with multiple settings files for production, Development & > Testing. > When I Try to run Python manage.py runserver --settings= settings_d

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-19 Thread Mike Dewhirst
I thought I'd go back and look at your original post. Your settings file looks a bit tricky. I learned to deal with multiple settings files a long time ago so I don't know what current best practice is. Essentially, the way I do it is to have a complete base.py with all settings in a default s

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-19 Thread chaitanya orakala
Thank Jeorge. I went through that blog long back but I can't find a relation to my Error. I will try contacting my manager regarding this. will let you know if I find anything. Have a great day On Tue, May 19, 2020 at 2:44 PM Jorge Gimeno wrote: > I'm not sure why you're getting an exception.

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-19 Thread Jorge Gimeno
I'm not sure why you're getting an exception. I know the import mechanism in Python 2 was a bit different, so I'm not sure if that's the issue or if Django's import mechanism isn't finding your settings file. I don't know if you have tried this, but I saw a blog post on using multiple settings fi

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-18 Thread chaitanya orakala
I tried that way, sir. but it's of no use. I don't know how to resolve this issue. its been troubling me for 3 days now On Mon, May 18, 2020 at 9:29 PM Mike Dewhirst wrote: > On 19/05/2020 11:10 am, chaitanya orakala wrote: > > I am using Python 2.7 > > It is possible you need a top line in the

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-18 Thread Mike Dewhirst
On 19/05/2020 11:10 am, chaitanya orakala wrote: I am using Python 2.7 It is possible you need a top line in the file like this ... from __future__ import absolute_import I haven't been following this thread so someone may have mentioned that already. -- You received this message because

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-18 Thread chaitanya orakala
hey could anyone help with this? On Mon, May 18, 2020 at 2:44 PM chaitanya orakala wrote: > Hi Jorge, > I tried placing a dot in front of settings_dev_sai, it didn't work. by the > way, I am using Python 2.7 and Django 1.10 versions. > [image: image.png] > this is my project structure. I am usi

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-18 Thread chaitanya orakala
Hi Jorge, I tried placing a dot in front of settings_dev_sai, it didn't work. by the way, I am using Python 2.7 and Django 1.10 versions. [image: image.png] this is my project structure. I am using a virtual environment. Please let me know what you think sir On Sat, May 16, 2020 at 7:54 PM Jorge

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-16 Thread Jorge Gimeno
It's coming from your settings file. I would try this: In this line here: elif HOST == "Sai" : from settings_dev_sai import * I would try to make the second line: from .settings_dev_sai import * See if Python can find the module that way. If Python does, then all of the imports in that

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-16 Thread chaitanya orakala
Do you have any idea why i am getting this error? On Sat, May 16, 2020 at 6:40 PM chaitanya orakala wrote: > Yes Jorge, all the settings file are in the same folder > > > On Sat, May 16, 2020 at 5:20 PM Jorge Gimeno wrote: > >> >> >> On Sat, May 16, 2020 at 1:52 PM chaitan wrote: >> >>> Hi, I

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-16 Thread chaitanya orakala
Yes Jorge, all the settings file are in the same folder On Sat, May 16, 2020 at 5:20 PM Jorge Gimeno wrote: > > > On Sat, May 16, 2020 at 1:52 PM chaitan wrote: > >> Hi, I am facing ModuleNotFoundError in my Django application. It got >> configured with multiple settings files for production,

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-16 Thread Jorge Gimeno
On Sat, May 16, 2020 at 1:52 PM chaitan wrote: > Hi, I am facing ModuleNotFoundError in my Django application. It got > configured with multiple settings files for production, Development & > Testing. > When I Try to run Python manage.py runserver --settings= settings_dev_sai. > > This is My *Set

PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-16 Thread chaitan
Hi, I am facing ModuleNotFoundError in my Django application. It got configured with multiple settings files for production, Development & Testing. When I Try to run Python manage.py runserver --settings= settings_dev_sai. This is My *Settings* File: import socket #import settings depending

Re: problem with feed

2020-04-24 Thread carlos
Is a VPS Digital Ocean On Fri, Apr 24, 2020 at 1:28 AM John McClain wrote: > often you have to manage configurations on the host as well. What configs > have you set in the host account > > On Fri, 24 Apr 2020 at 06:09, carlos wrote: > >> Hi, i have a website with SSL certificate >> but when cr

Re: Problem with user.username

2020-04-24 Thread Bishop Akolgo
Hi Thks. Was able to resolve problem after completing migrations and creating the supperuser regards bishop On Thu, Apr 23, 2020 at 6:08 PM Allison Tretina wrote: > I have two typos on line 6 and 9. My bad. > > >>> list(get_user_model().*objects.filter*(is_superuser=True).values_list('username'

Re: problem with feed

2020-04-24 Thread John McClain
often you have to manage configurations on the host as well. What configs have you set in the host account On Fri, 24 Apr 2020 at 06:09, carlos wrote: > Hi, i have a website with SSL certificate > but when create feed syndication the link protocol always is http why? > > how to change to https?

problem with feed

2020-04-23 Thread carlos
Hi, i have a website with SSL certificate but when create feed syndication the link protocol always is http why? how to change to https? in site_id a put only www.mydomain.com in syndication say http://www.mydomain.com/news/ any idea o link to find the problem in my setting put this SECURE_PROX

Re: Problem with user.username

2020-04-23 Thread Allison Tretina
I have two typos on line 6 and 9. My bad. >>> list(get_user_model().*objects.filter*(is_superuser=True).values_list('username', flat=True)) >>> list(get_user_model().*objects.filter*(is_superuser=True).values_list('password', flat=True)) On Thu, Apr 23, 2020 at 1:03 PM Allison Tretina wrote:

Re: Problem with user.username

2020-04-23 Thread Allison Tretina
Open the python shell in your terminal. $ python3 manage.py shell Import the modules to access your admin values. >>> from django.contrib.auth import get_user_model Get the username first. >>> list(get_user_model().objects.fileter(is_superuser=True).values_list('username', flat=True)) ['someus

Re: Problem with user.username

2020-04-23 Thread Jorge Gimeno
On Thu, Apr 23, 2020, 8:59 AM Bishop Akolgo wrote: > i have a similar problem. when i installed the env and django it did not > require me to create password but after successfully installing django and > trying to open admin, i need password and i cannot enter so i am stuck. > Can someone help

Re: Problem with user.username

2020-04-23 Thread Bishop Akolgo
i have a similar problem. when i installed the env and django it did not require me to create password but after successfully installing django and trying to open admin, i need password and i cannot enter so i am stuck. Can someone help me? On Tuesday, July 12, 2011 at 7:31:27 AM UTC+1, Supr

Re: problem with admin panel

2020-04-17 Thread Cristhian Heredia Claure
thanks for yor reply, and yes y Did that, my static files created correctly, but the admin page still without Stlye, I really don't understand, because in my Raspberry Pi I didn't do any other configuration and the admin page is perfect. El viernes, 17 de abril de 2020, 7:32:56 (UTC-4), Andréas

Re: problem with admin panel

2020-04-17 Thread Andréas Kühne
This sounds like you are having problems with the static files - check so that you have run "manage.py collectstatic" correctly and that the command works. Regards, Andréas Den fre 17 apr. 2020 kl 03:57 skrev Cristhian Heredia Claure < cris94@gmail.com>: > > Hello everyone Sorry if it's no

problem with admin panel

2020-04-16 Thread Cristhian Heredia Claure
Hello everyone Sorry if it's not correct to post here this issue that I have... In a LINUX environment, after all configuration for my project, when I try to log in the admin site, the style of the page of the admin panel is well stylized, as it should be. But in the test that I did in a Window

Re: problem with user autentication

2020-04-03 Thread Motaz Hejaze
authenticate take only 2 parameters : 1 - username_field ( default : username , if you changed it to email you need to pass email ) 2 - password On Sat, Apr 4, 2020 at 1:19 AM ahmed elabbasy wrote: > u must include the save method > > -- > You received this message because you are subscribed t

Re: problem with user autentication

2020-04-03 Thread ahmed elabbasy
u must include the save method -- 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 visi

problem with user autentication

2020-04-03 Thread Luca Bertolotti
Hello i can't authenticate user I have crete the user with: def create_user(request us = request.POST['username'] ml = request.POST['email'] passw = request.POST['password'] User.objects.create_user(us, ml, passw) return.. I see the user in the database

Re: Problem with migrations order

2020-03-24 Thread Yves de Champlain
Hi Thanks for your answer. Actually, I'm working on a clean migrate : find . -path "*/migrations/*.py" -not -name "__init__.py" -not -path "./data/*" -delete find . -path "*/migrations/*.pyc" -delete psql -U postgres $DB_NAME < > make sure you tell django that you have make changes the by ru

Re: Problem with migrations order

2020-03-24 Thread Akinfolarin Stephen
make sure you tell django that you have make changes the by running this python manage.py makemigrations after that enter python manage.py migrate it will automatically update your database On Tuesday, March 24, 2020 at 7:36:31 PM UTC+14, Yves de Champlain wrote: > > Hi > > I added a new app 'po

Problem with migrations order

2020-03-23 Thread Yves de Champlain
Hi I added a new app 'portfolio' in my project, but since then migrations won't work anymore because Django seems to be trying to do them in the wrong order. *Running migrations:* Applying core.0001_initial...* OK* Applying contenttypes.0001_initial...* OK* Applying contenttypes.0002_remove_

Re: The problem with saving the session without using a browser (using python.requests).

2020-03-04 Thread Владимир Пылев
Solution found. For some reason, you must pass the cookie to the session object itself. sess = requests.Session() cj=requests.utils.cookiejar_from_dict(cookie) sess.cookies=cj In this post() and get() requests I did not change: # (3) get to create r3=sess.get(url, cookies = cookie) # (4) p

The problem with saving the session without using a browser (using python.requests).

2020-03-02 Thread Владимир Пылев
Hello! In my situation, I need to communicate with the django application through python from the desktop application (using python.requests). The logic is this: 1 - Transfer the username and password to the login() - get and save to file the *session_id*. 2 - Use *session_id* from file to ident

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
Is it just one css or all css ? >> >> >> >> >> >> Maninder Kumar >> about.me/maninder.s.kumar >> >> >> >> >> >>> On Mon, Feb 10, 2020 at 7:08 PM Rishabh Gupta >>> wrote: >>> I

Re: Problem with Admin Page

2020-02-10 Thread Alessandro D' Oronzo
tp://about.me/maninder.s.kumar?promo=email_sig> > > > > > On Mon, Feb 10, 2020 at 7:08 PM Rishabh Gupta > wrote: > >> I have problem with CSS .CSS is not loading from static folder > >> Help me So i help others for same >> >> Thanks >> Rishabh >

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
Is it just one css or all css ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar <http://about.me/maninder.s.kumar?promo=email_sig> On Mon, Feb 10, 2020 at 7:08 PM Rishabh Gupta wrote: > I have problem with CSS .CSS is not loading from static folder > &g

Re: Problem with Admin Page

2020-02-10 Thread Rishabh Gupta
I have problem with CSS .CSS is not loading from static folder > Help me So i help others for same Thanks Rishabh On Mon, Feb 10, 2020 at 4:58 PM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > Couldn't be anything in the tracebacks ! > > > [image: --] &

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
mage: http://]about.me/maninder.s.kumar >> <http://about.me/maninder.s.kumar?promo=email_sig> >> >> >> >> >> On Mon, Feb 10, 2020 at 2:32 PM onlinejudge95 >> wrote: >> >>> Also, traceback would be awesome >>> >>> On Mo

Re: Problem with Admin Page

2020-02-10 Thread Alessandro D' Oronzo
Alessandro D' Oronzo < >> doronz...@gmail.com> wrote: >> >>> Hi everyone, >>> I have a problem with local web server and admin page. >>> When I try to connect to admin page the web server of Django close >>> without errors. >>> Do yo

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
10, 2020 at 12:09 AM Alessandro D' Oronzo > wrote: > >> Hi everyone, >> I have a problem with local web server and admin page. >> When I try to connect to admin page the web server of Django close >> without errors. >> Do you have any ideas? >> >&

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
My guess is you have a problem with your browser ! [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar <http://about.me/maninder.s.kumar?promo=email_sig> On Mon, Feb 10, 2020 at 12:09 AM Alessandro D' Oronzo wrote: > Hi everyone, > I have a problem with

  1   2   3   4   5   6   7   8   9   10   >