best way to display static python monitoring thread output

2020-03-23 Thread Phil Kauffman
Hello, Wondering if I can bounce my problem off some folks for an idea of how to solve it. My colleague and I are trying to pull in a python Rest API library for a piece of software. Rather than have end users run scripts we wanted to make a basic gui for them. I've got the basic tests working

filter objects dynamically on page render based on button click (beginner question)

2020-02-12 Thread Phil Kauffman
Hello, I am struggling with trying to filter child objects based on parent object selection on index.html (sites.html in example). On my sites.html, I list the office sites and a button to click for each, upon clicking I want to load the profile list for users only at that site, presently it's

Re: filter objects dynamically on page render based on button click (beginner question)

2020-02-13 Thread Phil Kauffman
> and especially 3, but you have to learn how to use the framework, and how > to connect it to Django. Those are useful things to learn, but they're not > overnight reads, and can have performance pitfalls. > > Good luck, Bill > > On Wed, Feb 12, 2020 at 3:17 PM Phil Kauffman

Re: How to pass pk through URL to CreateView

2020-02-18 Thread Phil Kauffman
Hello, Did you get any headway on this issue? I'm a novice Django user but was thinking of doing something similar with my code for a project I'm working on. I'm struggling with reverse lookup on foreign key. Have you had any issues doing reverse lookup on FK? For example in a view if you wan

understanding urls, forms, and HTTP ERROR 405

2020-02-20 Thread Phil Kauffman
Hello, Newbie in need of a little shove. It seems I need to review the purpose of the urls.py file. At present I am getting an HTTP Error 405 with the following: urls.py: path('', views.show_site, name = 'home'), path('site-view', views.List.as_view(), name='site-view') views.py class List(Lis

Re: understanding urls, forms, and HTTP ERROR 405

2020-02-20 Thread Phil Kauffman
can think of any posts or examples please let me know. On Thursday, February 20, 2020 at 1:16:07 PM UTC-5, OnlineJudge95 wrote: > > > On Thu, Feb 20, 2020 at 11:38 PM Phil Kauffman > wrote: > >> Hello, >> >> Newbie in need of a little shove. It seems I need to re