Re: NoReverseMatch at /home/ error

2023-04-23 Thread Parfait TOLEFO
Thank you for your help. I add name=‘home’ in the url and it is ok now . On Sun, 23 Apr 2023 at 17:38 Sebastian Jung wrote: > Hello, > > This can't be work with {% urls 'home' %} from another website. Pls writes > /home in href... > > Regards > > Parfait TOLEFO schrieb am So., 23. Apr. 2023, >

Re: Web portal by Django

2023-04-23 Thread Letlaka Tsotetsi
I agree with the other guys the tutorial is a great place to start and once you have a clear understanding of how Django functions then you can start building on that knowledge. As it's been mentioned your question is too open ended. Maybe if it had more specifications to it we might be able to o

python manage.py commonds: AttributeError: 'PosixPath' object has no attribute 'startswith'

2023-04-23 Thread DL
Django 4.2 Python 3.10.10 # python manage.py run_cmdb_worker Traceback (most recent call last): File "/usr/local/python/lib/python3.10/pkgutil.py", line 417, in get_importer importer = sys.path_importer_cache[path_item] KeyError: PosixPath('/www/cloudadmin') During handling of the above ex

Re: Sequence order in django

2023-04-23 Thread Nitesh Solanki
Hi Pooja, Can you please explain it a little bit like, suppose you are having 10 tracks in a list and you select 5th, then what do you want while you are having two partitions? first partition - 1st to 4th tracks (before the 5th track) second partition - 6th to 10th tracks (after the 5th track)

Re: Django urls error

2023-04-23 Thread Nitesh Solanki
myproject (main app) myapp (additional app) Code: myproject/urls.py from django.contrib import admin from django.urls import path, include from .views import HomeView urlpatterns = [ path('admin/', admin.site.urls), path('', HomeView, name='home'), ### will refer to main app views.py.

Re: Web portal by Django

2023-04-23 Thread Nitesh Solanki
Hi Ananya, You can follow this - https://djangoforbeginners.com/introduction/ On Thursday, 13 April, 2023 at 7:13:05 pm UTC+5:30 Ryan Nowakowski wrote: > I recommend starting from the tutorial. That'll give you some idea of what > Django is capable of. Then you can build your web portal after yo