Skip to content

Instantly share code, notes, and snippets.

View williln's full-sized avatar

Lacey Henschel williln

View GitHub Profile
@williln
williln / drf-yasg-examples.py
Last active December 15, 2022 19:49
Some drf-yasg examples
from drf_yasg import openapi
from drf_yasg.utils import no_body, swagger_auto_schema
"""
For actions, a lot of times Swagger will pick up on the serializer you pass to serializer_class in the decorator.
But when you're using different input and output serializers or doing anything fancy, Swagger doesn't like it.
Swagger also isn't great at picking up on the status you return if you're not returning a 200 or 201.
"""
version: '3'
services:
db:
[your DB info]
web:
[your web info]

Keybase proof

I hereby claim:

  • I am williln on github.
  • I am laceynwilliams (https://keybase.io/laceynwilliams) on keybase.
  • I have a public key whose fingerprint is 8C5B 3605 08A1 54A0 3DC7 750B C37D 05FA 2429 1117

To claim this, I am signing this object:

@williln
williln / django-girls-accessibility.md
Last active August 29, 2015 14:24
A More Accessible Django Girls (Slides + Script)

A More Accessible Django Girls

(Slides, Video)

Good morning! Thank you so much for having me.

If you’d like to follow along, the script and a link to the slides on slideshare is at this link.. This link will be at the bottom of the next few slides, so you’ll be able to catch it if you need it.

Hi! I’m Lacey. I’m a developer at the University of Texas at Austin, and I’m an organizer for Django Girls and DjangoCon, and this is my first ever conference presentation.