Creating the Form

Intro to Backend >> Databases >> Creating the Form

Don’t forget to update the line to match your new project’s pathname:


which resides within this line:

template_dir = os.path.join(os.path.dirname(__file__), '/thepathname/toyour/projectsfoldername')

which ultimately resides at the top of the page as you can see here in this code block:

import os
import webapp2
import jinja2

from google.appengine.ext import db

template_dir = os.path.join(os.path.dirname(__file__), '/thepathname/toyour/projectsfoldername')
jinja_env = jinja2.Environment(loader = jinja2.FileSystemLoader(template_dir),
autoescape = True)

Author: ajoannaproject

Studying Udacity's Full Stack Web Developer program and passing on my improvements, hints, hacks, and updates to other students via

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s