In your command-line run the following commands:
brew doctor
brew update
Vagrant::Config.run do |config| | |
config.vm.define :djangovm do |django_config| | |
# Every Vagrant virtual environment requires a box to build off of. | |
django_config.vm.box = "lucid64" | |
# The url from where the 'config.vm.box' box will be fetched if it | |
# doesn't already exist on the user's system. | |
django_config.vm.box_url = "http://files.vagrantup.com/lucid64.box" | |
# Forward a port from the guest to the host, which allows for outside |
@login_required | |
def report(request): | |
end = get_week_dates(datetime.now())[1] | |
begin = get_week_dates(datetime.now()-timedelta(days=7))[0] | |
if request.method == 'GET': | |
data = request.GET.copy() | |
if data: | |
form = AgendaForm(data, auto_id = True, initial={'begin':begin, 'end':end}) | |
if form.is_valid(): | |
if 'begin' in form.data and 'end' in form.data: |
In your command-line run the following commands:
brew doctor
brew update