original_docstring: Set site domain and name.
docstring: Set site domain and name.
docstring_tokens: Set site domain and name .
code: def update_site_forward(apps, schema_editor):
      """Set site domain and name."""
      Site = apps.get_model('sites', 'Site')
      Site.objects.update_or_create(
          id=settings.SITE_ID,
          defaults={
              'domain': 'farmlogger.local',
              'name': 'farmlogger'
          }
      )
code_tokens: def update_site_forward ( apps , schema_editor ) : Site = apps . get_model ( 'sites' , 'Site' ) Site . objects . update_or_create ( id = settings . SITE_ID , defaults = { 'domain' : 'farmlogger.local' , 'name' : 'farmlogger' } )
short_docstring: Set site domain and name.
short_docstring_tokens: Set site domain and name .
comment: """Set site domain and name."""