Re: Problem to style form fields with error

2024-04-25 Thread Guido Luis Dalla Vecchia
Here I attach the relevant parts of the files "views.py", "index.html" and "forms.py" so you can check them out. Thanks! El jueves, 25 de abril de 2024 a las 11:36:03 UTC-3, Ryan Nowakowski escribió: > Can you share some code snippets? > > > On April 24, 2024 6:28:18 PM CDT, Guido Luis Dalla V

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

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 get_object

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 > "Tr

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 page but when i

Re: Problem with my website

2023-07-12 Thread Peter Benjamin Ani
Chat me up let’s look into it On Wed, 12 Jul 2023 at 21:20, Chetan Ganji wrote: > Have you set the default url for the website? > > Sharing your urls.py file will help someone guide you better. > > Regards, > Chetan Ganji > +91-900-483-4183 > ganji.che...@gmail.com > http://ryucoder.in > > > On

Re: Problem with my website

2023-07-12 Thread Chetan Ganji
Have you set the default url for the website? Sharing your urls.py file will help someone guide you better. Regards, Chetan Ganji +91-900-483-4183 ganji.che...@gmail.com http://ryucoder.in On Wed, Jul 12, 2023 at 11:47 PM Ben Sidney Matiko wrote: > Is the website in development stage? > > On

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 can help me ?? > > -- > th

Re: Problem with my website

2023-07-12 Thread Carlos Pimentel_leanTech
If your website appears as a blank white page when you set `DEBUG = False` in your Django settings, it indicates that an error has occurred, and Django is not providing detailed error information to the end-user for security reasons. When `DEBUG` is set to `True`, Django shows detailed error messag

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, 12:

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.

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 11

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

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 no

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 inpu

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 16:00

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

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

2021-06-22 Thread Heron
Thank you Aziz Regards, _ Heron hero...@gmail.com _ Em ter., 22 de jun. de 2021 às 15:29, Aziz Meknassi escreveu: > Hi Heron, > > To make sure you are talking to your database, > in your project and in your command line, type > python manage.py shell > then i

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

2021-06-22 Thread Aziz Meknassi
Hi Heron, To make sure you are talking to your database, in your project and in your command line, type python manage.py shell then import your model If for example you have prodApp and model Product from prodApp.models import Product prd = Product.objects.all() print(prd) Please checkout ORM (

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

2021-06-21 Thread Heron
Yes, And its works fine with runserver, check or with apache/wscgi regards, _ Heron hero...@gmail.com _ Em dom., 20 de jun. de 2021 às 07:31, Luciano Martins escreveu: > > have you configured mysql database in settings.py? > Em sábado, 19 de junho de 2021 às 0

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 seens that connection to > datab

Re: Problem with get_absolute_url()

2021-04-26 Thread Kelvin Sajere
Glad I could help. On Mon, Apr 26, 2021 at 09:21 Mike Dewhirst wrote: > Many thanks Kelvin :-) > > M > > > > -- > (Unsigned mail from my phone) > > > > Original message > From: Kelvin Sajere > Date: 26/4/21 18:12 (GMT+10:00) > To

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

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*

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

Re: Problem with view

2021-02-25 Thread Umberto Moffa
Di niente! Il giorno gio 25 feb 2021 alle 07:47 Maurizio Faccin < maurizio.fac...@tiscali.it> ha scritto: > > Ciao, > cambiando il nome delle classi funziona. > > Grazie mille! > > > Maurizio > > > Il 25/02/2021 01:14, Umberto Moffa ha scritto: > > Ciao, prova a cambiare il nome delle classi, for

Re: Problem with view

2021-02-24 Thread Maurizio Faccin
Ciao, cambiando il nome delle classi funziona. Grazie mille! Maurizio Il 25/02/2021 01:14, Umberto Moffa ha scritto: Ciao, prova a cambiare il nome delle classi, forse chiamandosi Fatture sia il Model che la View va in pappa, oppure sovrascrivi il nome del Model quando lo importi nella view

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 Type: Attrib

Re: Problem with view

2021-02-24 Thread Umberto Moffa
Ciao, prova a cambiare il nome delle classi, forse chiamandosi Fatture sia il Model che la View va in pappa, oppure sovrascrivi il nome del Model quando lo importi nella view Esempio: “from model. import Fatture as *qualsiasi altro nome* Il giorno gio 25 feb 2021 alle 00:54 Maurizio Faccin < maur

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' You have two classes

Re: problem to show image

2021-02-11 Thread Kasper Laudrup
On 11/02/2021 16.32, Joseph Mulingwa Kithome wrote: Hello, I want to override the default  email that is set on Django settings and instead append my own email how do I do that First of all, learn how to use mailing lists and/or google groups. You shouldn't just "highjack" unrelated threads

Re: problem to show image

2021-02-11 Thread Joseph Mulingwa Kithome
Hello, I want to override the default email that is set on Django settings and instead append my own email how do I do that On Thu, 11 Feb 2021, 17:36 luca72.b...@gmail.com, < luca72.bertolo...@gmail.com> wrote: > Solved > i have add > > > Il giorno giovedì 11 febbraio 2021 alle 15:27:51 UTC+1

Re: problem to show image

2021-02-11 Thread luca72.b...@gmail.com
Solved i have add Il giorno giovedì 11 febbraio 2021 alle 15:27:51 UTC+1 luca72.b...@gmail.com ha scritto: > Hello > In the setup file i have: > > STATIC_URL = '/static/' > MEDIA_URL = '/media/' > > #STATICFILES_DIRS = [ > #os.path.join(BASE_DIR, "static"), > #'/polls/static/polls', >

Re: problem at saving a file (namecheap)

2021-01-31 Thread Kasper Laudrup
On 30/01/2021 21.28, mohamed masstour wrote: i have a problem with Django project (namecheap) , when i try to saving a file i get a Server Error (500)please help me . It doesn't sound like this is related to Django, so it is very unlikely anyone here can help you. Instead contact Namecheap

Re: Problem re-rendering ClearableFileInput on validation error

2020-12-11 Thread Michael Goffioul
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 input. Is there a case where FileField.bound_data() should return anything else than the initial value? On Fri, Dec 11, 2020 a

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

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

Re: Problem to see file or image uploaded in admin django

2020-08-24 Thread AMINE AZIZ
i found solution just i need to change media/ to /media/ :) Le lun. 24 août 2020 à 15:40, Ogunsanya Opeyemi a écrit : > Hi, do you have pillow installed in your library. and look for the image > in that path in your local directory. > > > On Mon, Aug 24, 2020 at 12:59 PM AMINE AZIZ wrote: >

Re: Problem to see file or image uploaded in admin django

2020-08-24 Thread Ogunsanya Opeyemi
Hi, do you have pillow installed in your library. and look for the image in that path in your local directory. On Mon, Aug 24, 2020 at 12:59 PM AMINE AZIZ wrote: > Problem to see file or image uploaded in admin django > > see image below > > my setting.py > > ---

Re: Problem in user creation

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

Re: Problem in user creation

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

Re: Problem in user creation

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

Re: Problem in user creation

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

Re: problem filtering queryset in Django Rest Framework

2020-06-07 Thread wongX Ndeso
Try change this, If self.kwargs[field] is not None: With if self.kwargs[field]: <--- this will return True it the field is not empty This is the better way to filter, if you want filter the fields is empty then just add not like this example if not self.kwargs[field]: On Sun, Jun 7, 2020, 1:06 AM

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

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?

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 in polls app(ques text will not display)

2020-04-21 Thread LGBS fine soul coders
Try to send your source code On Tue, 21 Apr 2020, 23:28 Antje Kazimiers, wrote: > It sounds like your database is empty. Did you check if there are any > Question records in your admin view? Under > > 127.0.0.1:8000/admin > > You should see an entry for Questions and you can create question > re

Re: Problem in polls app(ques text will not display)

2020-04-21 Thread Antje Kazimiers
It sounds like your database is empty. Did you check if there are any Question records in your admin view? Under 127.0.0.1:8000/admin You should see an entry for Questions and you can create question records there. Here they describe, how to create those records using the django management shell

Re: [PROBLEM] Creacion de primera apps de djangogirls, error en models.py

2020-04-19 Thread lucas bonet
Si, seguí toda la instalación de djangogirls que la instala con Pip El El dom, 19 abr. 2020 a la(s) 22:22, Gavin Wiener escribió: > ¿Has instalado Django con pip? > > On Saturday, April 18, 2020 at 5:35:22 AM UTC+8, lucas bonet wrote: >> >> Hola, estoy creando la primera aplicacion de django con

Re: [PROBLEM] Creacion de primera apps de djangogirls, error en models.py

2020-04-19 Thread Gavin Wiener
¿Has instalado Django con pip? On Saturday, April 18, 2020 at 5:35:22 AM UTC+8, lucas bonet wrote: > > Hola, estoy creando la primera aplicacion de django con pyton y cuando > llega el momento de configurar en el directorio de blog--> model.py copio > las lineas de comando del tutrorial y me rep

Re: [PROBLEM] Creacion de primera apps de djangogirls, error en models.py

2020-04-19 Thread lucas bonet
Hola Juan, gracias por tu respuesta, te adjunto la imagen de VS para que veas el error. El vie., 17 abr. 2020 a las 19:59, Juan Pablo Romero Bernal (< jromerober...@gmail.com>) escribió: > Saludos Lucas, > > Sería de mucha utilidad que nos mostraras los mensajes de error que > obtienes para > pod

Re: [PROBLEM] Creacion de primera apps de djangogirls, error en models.py

2020-04-17 Thread Juan Pablo Romero Bernal
Saludos Lucas, Sería de mucha utilidad que nos mostraras los mensajes de error que obtienes para poder ayudarte. Saludos, On Fri, Apr 17, 2020 at 4:34 PM lucas bonet wrote: > Hola, estoy creando la primera aplicacion de django con pyton y cuando > llega el momento de configurar en el directori

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

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

Re: Problem extracting month Djongo / MongoDB

2020-03-24 Thread Eswar Subramanyam
Does someone have any idea of any other groups on which i can get help on my question ? Thanks. BR Es. Le lundi 23 mars 2020 16:14:37 UTC+1, Eswar Subramanyam a écrit : > > I am using MongoDB as underlying DB with Django. > > pipeline = { > 'price' : Sum('price'), >

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

Re: Problem

2020-03-16 Thread Phako Perez
t; > From: Phako Perez > Sent: Monday, March 16, 2020 8:42 PM > Subject: Re: Problem > > What’s the problem??? > > Using python 3 you can create an environment as > > python3 -m venv my_env > > Kindly send an error or what is the issue you face while

Re: Re: Problem

2020-03-16 Thread Gerardo Palazuelos Guerrero
t is next on installing django > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *Phako Perez <13.phak...@gmail.com> > *Sent: *Monday, March 16, 2020 8:42 PM > *Subject: *Re: Problem > > > &

RE: Re: Problem

2020-03-16 Thread Daniel Chiemelu
So after creating the virtual environment what is next on installing django Sent from Mail for Windows 10 From: Phako PerezSent: Monday, March 16, 2020 8:42 PMSubject: Re: Problem What’s the problem??? Using python 3 you can create an environment as python3 -m venv my_env Kindly send an error or

Re: Problem

2020-03-16 Thread Phako Perez
What’s the problem??? Using python 3 you can create an environment as python3 -m venv my_env Kindly send an error or what is the issue you face while trying to create the env, so will be more easy to help, otherwise this question you can search on google for a beginner tutorial Regards Sent

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
I had the same problem on apache after running collect static Sent from my iPad > On 11-Feb-2020, at 1:01 AM, Alessandro D' Oronzo wrote: > > Hi, it is a default admin page. > > Il giorno lun 10 feb 2020 alle 20:26 maninder singh Kumar > ha scritto: >> Is it just one css or all css ? >> >>

Re: Problem with Admin Page

2020-02-10 Thread Alessandro D' Oronzo
Hi, it is a default admin page. Il giorno lun 10 feb 2020 alle 20:26 maninder singh Kumar < maninder.s.ku...@gmail.com> ha scritto: > Is it just one css or all css ? > > > > [image: --] > > Maninder Kumar > [image: http://]about.me/maninder.s.kumar >

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 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 hel

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: --] > > Maninder Kumar > [image: ht

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
Good job then I was wrong [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 10, 2020 at 6:14 PM Alessandro D' Oronzo wrote: > I have resolve it. The problem is version of python. Upgrade to 3.8 and I > have f

Re: Problem with Admin Page

2020-02-10 Thread Alessandro D' Oronzo
I have resolve it. The problem is version of python. Upgrade to 3.8 and I have fix the problem Il giorno lun 10 feb 2020 alle 12:28 maninder singh Kumar < maninder.s.ku...@gmail.com> ha scritto: > Couldn't be anything in the tracebacks ! > > > [image: --] > > Maninder Kumar > [image: http://]abou

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
Couldn't be anything in the tracebacks ! [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 10, 2020 at 2:32 PM onlinejudge95 wrote: > Also, traceback would be awesome > > On Mon, Feb 10, 2020 at 12:09 AM Ales

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 On Mon, Feb 10, 2020 at 12:09 AM Alessandro D' Oronzo wrote: > Hi everyone, > I have a problem with local web server an

Re: Problem with Admin Page

2020-02-10 Thread onlinejudge95
Also, traceback would be awesome On Mon, Feb 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? > > Thanks so much

  1   2   3   4   5   6   7   8   9   10   >