Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
BeHub-web
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dominik Rosiek
BeHub-web
Commits
03b553f9
Commit
03b553f9
authored
Nov 22, 2015
by
Dominik Rosiek
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.telemabk.pl:dominik/BeHub-web
parents
30a831cb
c8930957
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
models.py
BeHub/Hub/models.py
+1
-1
No files found.
BeHub/Hub/models.py
View file @
03b553f9
...
...
@@ -27,7 +27,7 @@ class Beacon(models.Model):
description
=
models
.
CharField
(
max_length
=
300
,
null
=
True
)
longitude
=
models
.
DecimalField
(
max_digits
=
9
,
decimal_places
=
6
)
latitude
=
models
.
DecimalField
(
max_digits
=
9
,
decimal_places
=
6
)
beacon_manager
=
models
.
OneToOneField
(
'BeaconManager'
,
blank
=
True
,
related_name
=
'beacon_manager'
)
beacon_manager
=
models
.
OneToOneField
(
'BeaconManager'
,
blank
=
True
,
related_name
=
'beacon_manager'
,
null
=
True
)
def
__str__
(
self
):
return
"name: {name}, uuid:{uuid}"
.
format
(
name
=
self
.
name
,
uuid
=
self
.
uuid
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment