Hi Remi ,
      It's as below:
    

>>> Site.objects.first().id

2

>>>






在 2019-01-11 21:53:26,"Remi Duraffort" <remi.duraffort@linaro.org> 写道:
Hello,

could you run "Site.objects.first().id" in the console?


Rgds

Le ven. 11 janv. 2019 à 12:18, Chuan Su <lavanxp@126.com> a écrit :
Dear Remi,
         I ran those commands you suggested in lava shell and it printed as below :
      

Python 3.5.3 (default, Jan 19 2017, 14:11:04)

[GCC 6.3.0 20170118] on linux

Type "help", "copyright", "credits" or "license" for more information.

(InteractiveConsole)

>>> from django.contrib.sites.models import Site

>>> Site.objects.all()

<QuerySet [<Site: 192.168.100.103>]>

>>> Site.objects.count()

1

>>>





 



--
Rémi Duraffort
LAVA Team