<div dir="auto"><div>Hi,</div><div dir="auto"><br></div><div dir="auto">Try run:</div><div dir="auto">python manager.py makemigrations</div><div dir="auto"> and after</div><div dir="auto">python manager.py migrate</div><div dir="auto"><br></div><div dir="auto">Return for in sucess case, please.</div><div dir="auto"><br></div><div dir="auto"><br></div><div><br></div><div data-smartmail="gmail_signature">Edson Flavio<br>41-98872-5118<br>@ef_souza - Twitter e Instagram</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex, 12 de abr de 2024 00:38, Joseph Kariuki via geonode-users <<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi. On installing the <a href="https://docs.geonode.org/en/master/advanced/contrib/subsites/" target="_blank" rel="noreferrer">Subsites module</a>, and creating some subsites as
stated in the documentation, the home page referred to as home results
to http:///en-us/ as, and the catalog that was initially there does not
show. And after installing and configuring via the below steps:<br clear="all"></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><ul><li>entered into a docker container named <strong>django4geonode</strong></li>
<li>using <code>pip install git+<a href="https://github.com/geosolutions-it/geonode-subsites@main#egg=geonode-subsites" target="_blank" rel="noreferrer">https://github.com/geosolutions-it/geonode-subsites@main#egg=geonode-subsites</a></code> I installed subsites</li>
<li>Edited the <strong>settings.py</strong> file for geonode by adding subsites to installed apps as per the instructions in the docs</li>
<li>Edited geonode project <strong>urls.py</strong> file by adding subsites URL as instructed in the documentation</li>
<li>Run <code>python manage.py migrate </code>to create tables for subsites</li>
<li>Restarted <strong>django4geonode</strong> container using <code>docker restart django4geonode</code> command</li>
<li>created subsites in the Django admin</li></ul><div><p dir="auto">Using advanced installation in an Ubuntu 22.04 LTS server</p>
<ul dir="auto">
<li>Installed subsites via pip after successful GeoNode 4.2.x install</li>
<li>Installed subsites module via pip command similar to the above</li>
<li>Migrate command to populate database tables</li>
<li>Created subsites in Django admin</li></ul><div>Please see the issue reference on the <a href="https://github.com/geosolutions-it/geonode-subsites/issues/37" target="_blank" rel="noreferrer">GitHub repository.</a></div></div><div><br></div><div><br></div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr">Kind Regards,</div><div dir="ltr"><br></div><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">Joseph </span>Kariuki<br></div></div></div></div></div>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank" rel="noreferrer">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</blockquote></div>