25.11.2014 Views

Conference Notes and Best Practices Release 1.3 ... - Read the Docs

Conference Notes and Best Practices Release 1.3 ... - Read the Docs

Conference Notes and Best Practices Release 1.3 ... - Read the Docs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Conference</strong> <strong>Notes</strong> <strong>and</strong> <strong>Best</strong> <strong>Practices</strong>, <strong>Release</strong> <strong>1.3</strong><br />

• Not clearly understood<br />

Whats in a name?<br />

• Names are different (not just first <strong>and</strong> last)<br />

• Non western names<br />

• Some last names do not have family names<br />

• Some do not have last names at all.<br />

• Django assumes that you have a distinct first <strong>and</strong> last name, is wrong.<br />

Names are Hard<br />

• Do you need separate fields<br />

• Just use a Full name?<br />

• If you need to seperate <strong>the</strong>m, use “Family name” <strong>and</strong> “O<strong>the</strong>r/given name”<br />

• Ask “How would you like to be addressed”?<br />

Tips<br />

• Don’t assume a single letter is an initial<br />

• Be wary of name-part algorigthms<br />

• Spaces, Apostrpohes, <strong>and</strong> Hypens are all level characters in names<br />

• Don’t require a “Family Name”<br />

• “previous name”, not “maiden name”<br />

• Honorifics are even more complex. Can’t just add “mr” in front of a name<br />

On <strong>the</strong> subject of “do you need to ask”?<br />

• Why do you ask for certain things? (Gender?)<br />

• Kuzdu <strong>and</strong> <strong>the</strong> California Marriage amendment<br />

When it comes to identity you need to think:<br />

• Do I need to ask at all?<br />

I. Define User Model<br />

• 2 possible base classes (Abstract base user, abstract user)<br />

• Define username field<br />

• Define required-fields<br />

• Define get_full_name <strong>and</strong> get_short_name<br />

38 Chapter 3. <strong>Conference</strong>s

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!