-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More work on Device > Facility page + Setup Wizard + misc fixes #7027
More work on Device > Facility page + Setup Wizard + misc fixes #7027
Conversation
jonboiser
commented
Jun 10, 2020
- Adds WIP facility import/discovery backends on the Setup Wizard
- Integrates Device > Facility Page to existing KDP Sync Backend
- Various fixes
…ration # Conflicts: # kolibri/core/assets/src/views/sync/FacilityNameAndSyncStatus.vue
…ration # Conflicts: # kolibri/plugins/facility/assets/src/views/DataPage/SyncInterface/index.vue
Codecov Report
|
""" | ||
|
||
def retrieve(self, request, pk=None): | ||
base_url = "http://192.168.1.8:8000/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a hardcoded ip is correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this endpoint is still being worked on. It will use the DynamicNetworkLocation
model's baseurl
field to construct the /api/public/v1/facility
endpoint for a specific peer.
This hardcoded URL is just my second computer's IP on the LAN, which I'm using for testing.