New to Django need help with m2m database with intermediate table.

2020-02-24 Thread Silas Nicholls
Hello, Sorry for my amateur question. I've been stuck on this issue for a while and I can't work out if there is way I can use my current models to work in this way. Here is a link to my issue:

New to Django, need help using my intermediate table to show the m2m relationship in my templates.

2020-02-24 Thread Silas Nicholls
Hello Sorry I am very new to Django and have come across quite the stumbling block. The details to the issue are in this Stack Overflow post I made a while ago with no answers:

Change settings.DEBUG in response to a request's source

2014-06-11 Thread Silas Snider
I'm writing an app where it'd be super helpful for logged-in users from my company to see error pages and the like as though the app was running with DEBUG=True, while still preventing ordinary users from seeing that output. I see that the docs strongly warn me against changing settings at

Re: Generating graphs from db data and displaying results using Django?

2007-07-12 Thread Silas
On Jul 10, 6:03 pm, Chris Rich <[EMAIL PROTECTED]> wrote: > Hey all, > So, I'm a beginner here with Django/webdesign/database stuff/all the > rest of it and I may be getting ahead of myself. I am currently > getting my feet wet in the Django environment, but I eventually want > to

newforms - can't pass variable to custom form

2007-02-12 Thread Silas
I've created a newforms custom form in which I'm trying to update a user's email while making sure no other user currently has the new email address. Ignoring the fact that I could use the User generated forms, I was wondering if anyone could hint on the best way to pass a variable to a custom

Re: looking for a part time django developer

2007-01-02 Thread Silas
I'd be interested in working with you, e-mail [EMAIL PROTECTED] and we'll see how I can help. -- Silas On Jan 2, 9:23 am, "professorhojo" <[EMAIL PROTECTED]> wrote: hi all, we're looking for a part time django developer to work remotely a few hours here and there, as your

Re: Pagination variable problem with generic list and limited queryset

2006-12-04 Thread Silas
Thanks for the explanation Rajesh. On Dec 4, 2:31 pm, "RajeshD" <[EMAIL PROTECTED]> wrote: > On Dec 3, 8:36 pm, "Silas" <[EMAIL PROTECTED]> wrote: > > > I have a problem with generic.list_detail.object_list, a limiting > > queryset, and pagi

Pagination variable problem with generic list and limited queryset

2006-12-03 Thread Silas
I have a problem with generic.list_detail.object_list, a limiting queryset, and pagination variables. For some reason when I use the code below, results are restricted to the sliced 100, but all the pagination variables show results as if the slice wasn't there. Example: {{ pages }} = 12 (not

Re: Can't get Django to work Apache + mod_python

2006-08-22 Thread Silas
I figured out what my problem was. It was me being stupid. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe

Can't get Django to work Apache + mod_python

2006-08-21 Thread Silas
I'm having problems getting Django to work with Apache. Evenything works with "./manage.py runserver", but I get the errors listed below when I try to load the project with Apache and mod_python. I consistently get the same error the first and second refresh, followed by the "Third+" the rest of

Re: when is 1 != 1? (according to 'ifequal' in template)

2006-08-07 Thread Silas Snider
Try just the int() constructor from Python (i.e. int('1') returns 1 as a integer) Sincerely, Silas Snider On 8/7/06, hotani <[EMAIL PROTECTED]> wrote: > > Thanks for the replies. > > However, after digging through the documentation I'm not seeing > anything that will conve

Re: SQL Injection

2005-12-20 Thread Silas Snider
Do they just quote the string? Or do they use a 'bind variable' type idea? Example: If an attacker typed ' or 'a'='a into a password input field for instance, would the ORM properly prevent the attempted attack from working? Sincerely, Silas Snider On 12/20/05, Adrian