from flask import render_template

from . import aflafrettir

@aflafrettir.route('/')
def index():
  return render_template('aflafrettir/index.html')

@talks.route('/user/<username>')
def user(username):
 return render_template('aflafrettir/index.html', username = username)

from flask import render_template

from . import aflafrettir

@aflafrettir.route('/')
def index():
  return render_template('aflafrettir/index.html')

@aflafrettir.route('/user/<username>')
def user(username):
 return render_template('aflafrettir/user.html', username = username)

Use the correct template, and call the aflafrettir route decorator
Use the correct template, and call the aflafrettir route decorator

  from flask import render_template
  
  from . import aflafrettir
  
  @aflafrettir.route('/')
  def index():
    return render_template('aflafrettir/index.html')
  
- @talks.route('/user/<username>')
+ @aflafrettir.route('/user/<username>')
  def user(username):
-  return render_template('aflafrettir/index.html', username = username)
+  return render_template('aflafrettir/user.html', username = username)
  
Use the correct template, and call the aflafrettir route decorator
## Code Before:
from flask import render_template

from . import aflafrettir

@aflafrettir.route('/')
def index():
  return render_template('aflafrettir/index.html')

@talks.route('/user/<username>')
def user(username):
 return render_template('aflafrettir/index.html', username = username)

## Instruction:
Use the correct template, and call the aflafrettir route decorator
## Code After:
from flask import render_template

from . import aflafrettir

@aflafrettir.route('/')
def index():
  return render_template('aflafrettir/index.html')

@aflafrettir.route('/user/<username>')
def user(username):
 return render_template('aflafrettir/user.html', username = username)
