This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mar 29 13:41:00 server213-171-204-107 postfix/smtpd[18553]: connect from 60-248-251-23.HINET-IP.hinet.net[60.248.251.23] | |
Mar 29 13:41:03 server213-171-204-107 postfix/smtpd[18553]: warning: 60-248-251-23.HINET-IP.hinet.net[60.248.251.23]: SASL LOGIN authentication failed: authentication failure | |
Mar 29 13:41:03 server213-171-204-107 postfix/smtpd[18553]: lost connection after AUTH from 60-248-251-23.HINET-IP.hinet.net[60.248.251.23] | |
Mar 29 13:41:03 server213-171-204-107 postfix/smtpd[18553]: disconnect from 60-248-251-23.HINET-IP.hinet.net[60.248.251.23] | |
Mar 29 13:41:09 server213-171-204-107 postfix/pickup[5988]: 4A2C9E0067C: uid=1002 from=<malmesburyonline> | |
Mar 29 13:41:09 server213-171-204-107 postfix/cleanup[18687]: 4A2C9E0067C: message-id=<[email protected]> | |
Mar 29 13:41:09 server213-171-204-107 postfix/qmgr[9218]: 4A2C9E0067C: from=<[email protected]>, size=889, nrcpt=1 (queue active) | |
Mar 29 13:41:09 server213-171-204-107 postf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7f1477b8eea0> | |
Traceback (most recent call last): | |
File "/home/ben/.pyenv/versions/3.7.2/lib/python3.7/site-packages/django/utils/autoreload.py", line 225, in wrapper | |
fn(*args, **kwargs) | |
File "/home/ben/.pyenv/versions/3.7.2/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 117, in inner_run | |
self.check(display_num_errors=True) | |
File "/home/ben/.pyenv/versions/3.7.2/lib/python3.7/site-packages/django/core/management/base.py", line 379, in check | |
include_deployment_checks=include_deployment_checks, | |
File "/home/ben/.pyenv/versions/3.7.2/lib/python3.7/site-packages/django/core/management/base.py", line 366, in _run_checks | |
return checks.run_checks(**kwargs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Django settings for malmesburyonline project. | |
Generated by 'django-admin startproject' using Django 2.1.7. | |
For more information on this file, see | |
https://docs.djangoproject.com/en/2.1/topics/settings/ | |
For the full list of settings and their values, see | |
https://docs.djangoproject.com/en/2.1/ref/settings/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class WalkSectionController < ApplicationController | |
def go_for | |
@section_id=params[:id] | |
@walk_section = WalkSection.where( id: @section_id ) | |
@walk_id = Walk.where( id: @walk_section["walk_id"].to_i ) | |
full_url = request.base_url + request.path | |
i = full_url.rindex( '/' ) | |
@base_url = full_url.at(0..i) | |
@walk_section_buttons = WalkSectionButton.where( walk_section_id: 1) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class WalkSectionController < ApplicationController | |
def go_for | |
@section_id=params[:id] | |
@walk_section = WalkSection.where( id: @section_id ) | |
@walk_id = Walk.where( id: @walk_section["walk_id"].to_i ) | |
full_url = request.base_url + request.path | |
i = full_url.rindex( '/' ) | |
@base_url = full_url.at(0..i) | |
@walk_section_buttons = WalkSectionButton.where( walk_section_id: 1) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class WalkSectionController < ApplicationController | |
def go_for | |
@section_id=params[:id] | |
@walk_section = WalkSection.where( id: @section_id ) | |
@walk_id = Walk.where( id: @walk_section["walk_id"].to_i ) | |
full_url = request.base_url + request.path | |
i = full_url.rindex( '/' ) | |
@base_url = full_url.at(0..i) | |
@walk_section_buttons = WalkSectionButton.where( walk_section_id: 1) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
activerecord (5.2.2.1) lib/active_record/relation/delegation.rb:71:in `[]' | |
activerecord (5.2.2.1) lib/active_record/relation/delegation.rb:71:in `[]' | |
app/controllers/walk_section_controller.rb:5:in `go_for' | |
actionpack (5.2.2.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' | |
actionpack (5.2.2.1) lib/abstract_controller/base.rb:194:in `process_action' | |
actionpack (5.2.2.1) lib/action_controller/metal/rendering.rb:30:in `process_action' | |
actionpack (5.2.2.1) lib/abstract_controller/callbacks.rb:42:in `block in process_action' | |
activesupport (5.2.2.1) lib/active_support/callbacks.rb:132:in `run_callbacks' | |
actionpack (5.2.2.1) lib/abstract_controller/callbacks.rb:41:in `process_action' | |
actionpack (5.2.2.1) lib/action_controller/metal/rescue.rb:22:in `process_action' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:00:02.719804 VirtualBox VM 6.0.4 r128413 win.amd64 (Jan 25 2019 18:13:23) release log | |
00:00:02.719823 Log opened 2019-03-18T13:50:47.025848000Z | |
00:00:02.719823 Build Type: release | |
00:00:02.719827 OS Product: Windows 10 | |
00:00:02.719828 OS Release: 10.0.17763 | |
00:00:02.719829 OS Service Pack: | |
00:00:02.776260 DMI Product Name: Inspiron 15 7000 Gaming | |
00:00:02.779545 DMI Product Version: | |
00:00:02.779555 Host RAM: 8058MB (7.8GB) total, 3958MB (3.8GB) available | |
00:00:02.779558 Executable: C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.exe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ben@local malmesburyonline]$ rails g model Walk name:text description:string date_from:date date:to | |
Running via Spring preloader in process 3977 | |
invoke active_record | |
create db/migrate/20190315201815_create_walks.rb | |
create app/models/walk.rb | |
invoke test_unit | |
create test/models/walk_test.rb | |
create test/fixtures/walks.yml |