Re: models foreign key

2017-01-15 Thread Michal Petrucha
On Thu, Jan 12, 2017 at 01:40:43AM -0800, jeffreyequizuvero wrote: > > > *This is about the models foreign key, I have two tables and i used foreign > key to connect these tables however after i did migration it's not working. > Is there any wrong with my code? * I can see that you have a comm

Re: Django search

2017-01-15 Thread Constantine Covtushenko
Hi Branco, Sorry, but can you be more specific? If you've got the result what is your concern? Do you only need to switch into forms? Regards, Constantine C. On Sun, Jan 15, 2017 at 2:41 PM, Branko Zivanovic < international11...@gmail.com> wrote: > How do i implement search on django website wi

Re: Django-channels connecting 2 random people

2017-01-15 Thread Andrew Godwin
Kind of, but you need to use a database rather than a dictionary to make sure state is shared properly. If you have one table called users with columns (id, username, reply_channel) and another called pairings with (user1_id, user2_id), then when someone connects, you can: a) Add them to the users

Re: models foreign key

2017-01-15 Thread Melvyn Sopacua
On Monday 16 January 2017 07:55:28 Jeffrey Uvero wrote: > *I am using oracle. * > > *actually I used the procedure before and it was successful, but now i > used same procedure but it didn't work. * Make sure that the tool you use to "see the connection between these tables" is not the problem.

Re: models foreign key

2017-01-15 Thread Jeffrey Uvero
*I am using oracle. * *actually I used the procedure before and it was successful, but now i used same procedure but it didn't work. * On Sun, Jan 15, 2017 at 12:16 AM, Melvyn Sopacua wrote: > On Friday 13 January 2017 07:42:17 Jeffrey Uvero wrote: > > > *there's no problem appeared but when I

Re: Am I stupid or is there an essential error in Django 1.10 Docs?

2017-01-15 Thread Mike Dewhirst
On 16/01/2017 5:01 AM, 'Peter Müller' via Django users wrote: Hello everybody. I just began learning how to use django. So I wanted to include data from the database in a testwebsite. Therefore I made a new app and created a model called "user" and You don't need to create your own user mod

Am I stupid or is there an essential error in Django 1.10 Docs?

2017-01-15 Thread 'Peter Müller' via Django users
Hello everybody. I just began learning how to use django. So I wanted to include data from the database in a testwebsite. Therefore I made a new app and created a model called "user" and a view that should fill a template with data from that model. To do this (according to Django 1.10 Docs/Tuto

Re: Override base filter for model's queryset (Django 1.6)?

2017-01-15 Thread Melvyn Sopacua
Hi Derek, On Sunday 15 January 2017 06:53:10 Derek wrote: > You don't appear to have understood my question; and I did not see > this particular use case covered in the docs (which is why I asked > it). You also pointed me to the wrong version; in particular > "QuerySet.as_manager()" is not metho

Re: Override base filter for model's queryset (Django 1.6)?

2017-01-15 Thread Derek
Hi Melvyn You don't appear to have understood my question; and I did not see this particular use case covered in the docs (which is why I asked it). You also pointed me to the wrong version; in particular "QuerySet.as_manager()" is not method in 1.6. On Saturday, 14 January 2017 21:58:15 UTC+2

Django search

2017-01-15 Thread Branko Zivanovic
How do i implement search on django website with select menu and checkbox? I've succeeded in adding basic text input and it works but I didn't use django forms. How do I add this type of search? -- You received this message because you are subscribed to the Google Groups "Django users" group.