Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

CIRCLE / cloud

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 94
  • Merge Requests 10
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Merged
Merge request !193 opened Sep 10, 2014 by Kálmán Viktor@kviktor 
  • Report abuse
Report abuse

Make it easy to add a cname to changed hostname

Closes #253 (closed)

  • Discussion 2
  • Commits 1
  • Changes
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Őry Máté
    @orymate started a discussion on the diff Sep 11, 2014
    circle/network/views.py
    510 'domain': self.request.GET.get('domain'),
    511 }
    508 host_pk = self.request.GET.get("host")
    509 try:
    510 host = Host.objects.get(pk=host_pk)
    511 except (Host.DoesNotExist, ValueError):
    512 host = None
    513
    514 initial = {'owner': self.request.user}
    515 if host:
    516 initial.update({
    517 'type': "CNAME",
    518 'host': host,
    519 'address': host.get_fqdn(),
    520 })
    521 else:
    • Őry Máté @orymate commented Sep 11, 2014
      Owner

      why only else?

      why only else?
    Please register or sign in to reply
  • Őry Máté @orymate commented Sep 11, 2014
    Owner

    +1

    +1
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
2
2 participants
Reference: circle/cloud!193