def add_project(name, ongoing, startdate='', githuburl='', short_description='', more_info_button_text='', long_description=''):
    p = Project(name=name, ongoing=ongoing, short_description=short_description, more_info_button_text=more_info_button_text, long_description=long_description)

    if startdate:
        p.startdate = startdate
    if githuburl:
        p.githuburl = githuburl
    p.save()
    return p