Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-28 Thread Harish Bheemanpally
Yes, I have installed all the packages required for postgresql, I configured the Djanog in windows with Postgresql, it running perfectly. but in Fedroa 30 server i am facing the problem, On Monday, October 28, 2019 at 4:30:59 PM UTC+5:30, Motaz Hejaze wrote: > > did you install all required

Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-28 Thread Harish Bheemanpally
On Monday, October 28, 2019 at 4:30:59 PM UTC+5:30, Motaz Hejaze wrote: > > did you install all required packages for postgresql ? > > > On Mon, Oct 28, 2019 at 12:55 PM Harish Bheemanpally > wrote: > >> Yes it was running perfectly in sqllie & Mysql. But in postgresql i am >> unable to

Re: search results from a Django model method including the results from earlier calls to the same method (x post StackOverflow)

2019-10-28 Thread yolabingo
Solved on SO, but an extremely educational response. I learned about mutable default argument gotcha https://stackoverflow.com/questions/1132941/least-astonishment-and-the-mutable-default-argument And Django Modified Preorder Tree Traversal https://github.com/django-mptt/django-mptt -- You

search results from a Django model method including the results from earlier calls to the same method (x post StackOverflow)

2019-10-28 Thread yolabingo
I also posted this to SO https://stackoverflow.com/questions/58600159/search-results-from-a-django-model-method-including-the-results-from-earlier-cal hope that's ok, let me know if not. I have a Django Model that tracks email message IDs as the message passes through different servers. It has

Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-28 Thread carlos
You can show the settings and permissions of the DB, because the user harish.b and harishb are different! On Mon, Oct 28, 2019 at 5:00 AM Motaz Hejaze wrote: > did you install all required packages for postgresql ? > > > On Mon, Oct 28, 2019 at 12:55 PM Harish Bheemanpally > wrote: > >> Yes it

Re: normal form error

2019-10-28 Thread Kasper Laudrup
Hi Challa, On 28/10/2019 14.04, challa.Harikrishna chowdary wrote: how to use normal Html forms in Django please give me any answers All you need to know is in the official documentation: https://docs.djangoproject.com/en/2.2/topics/forms/ -- You received this message because you are

Re: ModuleNotFoundError: No module named 'mysite.polls'

2019-10-28 Thread Charles Jason Decena
mysite.apps.polls would solve your problem On Sunday, October 27, 2019 at 1:01:09 AM UTC+8, Beto Joaquim wrote: > > hello guys I'm new on Django and I would like to ask your help, I've added > "mysite.polls'' to my SETTINGS > Installed app... but it still say " > ModuleNotFoundError: No module

Re: to make a wish list .

2019-10-28 Thread Charles Jason Decena
Try putting foreign key to the wishlist model On Friday, October 25, 2019 at 7:56:42 PM UTC+8, Shubham Mishra wrote: > > hello, > I am Surendra Mishra , I am student currently i'm learning django. > I applied for internship , but they gave me a task if i complete then they > will consider me .

Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-28 Thread Motaz Hejaze
did you install all required packages for postgresql ? On Mon, Oct 28, 2019 at 12:55 PM Harish Bheemanpally wrote: > Yes it was running perfectly in sqllie & Mysql. But in postgresql i am > unable to configure Djanog > the postger server screen shot > > please let me know for any information

Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-28 Thread Motaz Hejaze
Does it run on sqlite ?? You need to show the code On Mon, 28 Oct 2019, 8:10 am Harish Bheemanpally, wrote: > There is not user with harish in *DB*(postgresql) > the harish is the user of *OS*. > > As suggested by sacrac: > > I have created a new user in DB with the name harishb who is the

Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-28 Thread Harish Bheemanpally
There is not user with harish in *DB*(postgresql) the harish is the user of *OS*. As suggested by sacrac: I have created a new user in DB with the name harishb who is the owner of the DB and changed the setting.py still raising same error when i am trying to run migrate or run the django PLZ