
from django.shortcuts import render
from django.http import HttpResponse

def welcome(request):
    return render(request, 'installer/welcome.html', locals())


from django.contrib.auth.models import User
from django.shortcuts import render
from django.http import HttpResponse

def welcome(request):
    return render(request, 'installer/welcome.html', locals())

def create_superuser(request):
    pass
    # username
    # password
    # email
    # User.objects.create_superuser(username, email, password)

Define skeleton for the function that will create the superuser
Define skeleton for the function that will create the superuser

Autoconverted from SVN (revision:2929)

  
+ from django.contrib.auth.models import User
  from django.shortcuts import render
  from django.http import HttpResponse
  
  def welcome(request):
      return render(request, 'installer/welcome.html', locals())
  
+ def create_superuser(request):
+     pass
+     # username
+     # password
+     # email
+     # User.objects.create_superuser(username, email, password)
+ 
Define skeleton for the function that will create the superuser
## Code Before:

from django.shortcuts import render
from django.http import HttpResponse

def welcome(request):
    return render(request, 'installer/welcome.html', locals())

## Instruction:
Define skeleton for the function that will create the superuser
## Code After:

from django.contrib.auth.models import User
from django.shortcuts import render
from django.http import HttpResponse

def welcome(request):
    return render(request, 'installer/welcome.html', locals())

def create_superuser(request):
    pass
    # username
    # password
    # email
    # User.objects.create_superuser(username, email, password)
