Sheila Miguez

Results 30 comments of Sheila Miguez

This is an example of what he's done to provide pyvideo-shaped data. http://veyepar3.nextdayvideo.com/main/M/pyvid_json.urls?client=pyohio&show=pyohio_2016

yeah, this is why someone should talk to Carl about it. It will be easy for him to fix, or someone to do a pull request.

For the old pyvideo, whenever Carl or Ryan did a conference, they could push things directly to pyvideo and the api allowed them to push to a category. If someone...

For the SciPy videos, I think it is the length of the generated slug, not the title, that is the problem. I'm looking in to it right now.

Yes, the slug length was the problem. When creating multiple videos with the same title, the unique counter appended to the slug bumps the entire thing over the max_length of...

1. done 2. not done yet (but wanted to make a PR to be helpful).

Hey, I was wondering if you'd rather do something like a query filter where you search for anything where the slug_field starts with the potential slug? If the results are...

Sure, I was playing around with it last night. ``` def generate_unique_slug(obj, slug_from, slug_field='slug'): """ generate slug with a trailing counter to prevent name collision """ max_length = obj.__class__._meta.get_field(slug_field).max_length text...

also, when I have error messages sometimes I like to provide information about the invalid input, so in this case I might suggest raise ValueError('No valid slugs available for: {}.'.format(text))...

let me know if #269 is satisfactory