Skip to main content
John Gordon's user avatar
John Gordon's user avatar
John Gordon's user avatar
John Gordon
Lead software developer
  • Member for 13 years, 8 months
  • Last seen this week
  • University of Illinois, Urbana IL
122 votes
14 answers
472k views

How to check for null/empty/whitespace values with a single test?

30 votes
4 answers
33k views

How to render individual radio button choices in Django?

16 votes
3 answers
801 views

Unexpected result from `in` operator - Python [duplicate]

8 votes
2 answers
21k views

In a Django form, how do I render a radio button so that the choices are separated on the page?

7 votes
2 answers
862 views

How can I tell if a Django session is new?

5 votes
1 answer
7k views

sqlalchemy session with autocommit=True does not commit

4 votes
2 answers
125 views

Why does the 'in' operator recognize substrings but not sublists?

4 votes
3 answers
700 views

Python re.search() not returning full group match

3 votes
4 answers
141 views

Why are freestanding code blocks allowed?

3 votes
2 answers
2k views

Run an AWS ECS task

3 votes
1 answer
3k views

pymongo "[Errno -5] No address associated with hostname" fixed, but why?

3 votes
2 answers
1k views

What causes an ImportError to report "(unknown location)"?

3 votes
0 answers
54 views

Best practice for managing requirements.txt in develop/main branches?

2 votes
1 answer
634 views

Running two instances of "docker-compose up"

2 votes
1 answer
3k views

Can I apply another tag to an existing image in the ECR web interface?

2 votes
2 answers
65 views

SQL difficulty with HAVING and GROUP BY

2 votes
1 answer
206 views

How to enable detailed database connection logging?

2 votes
1 answer
488 views

How to get the default text of a Django form field validation error message?

2 votes
1 answer
653 views

How to wrap admin views in django?

2 votes
3 answers
2k views

Django error ORA-01461 workaround?

2 votes
2 answers
4k views

Can I search for entries that have *only* certain values in a multi-valued attribute?

2 votes
1 answer
88 views

How to handle a catastrophic error inside a Django form clean() method?

1 vote
1 answer
2k views

When a form clean() method detects an error, how do I redisplay empty fields instead of the user's input?

1 vote
8 answers
831 views

How to write a SELECT statement when I don't know in advance what columns I want?

1 vote
1 answer
3k views

Using django reverse() when multiple URLs have the same name

1 vote
1 answer
60 views

Trouble setting password via googleapiclient

1 vote
1 answer
228 views

github issue comment received via email won't render code block

1 vote
1 answer
131 views

sql how to select the lack of a condition?

1 vote
1 answer
2k views

Why do I have to specifically import ldap.modlist?

1 vote
1 answer
2k views

How to get the value of an individual radio button in a Django template?