Overriding the default django admin panel with a fully customized Rest Framework + React Dashboard

2023-04-15 Thread Kimanxo
Hello Devs, I Wish you're doing okay . Im currently working on a Blood Analysis Lab related project, the project should provide basic website description and CRUD functionalities concerning the blood exams, their status, ... Basically, I have a custom design for the admin panel where the websi

Re: Django forms data save using ajax

2023-04-15 Thread 'Kasper Laudrup' via Django users
On 15/04/2023 12.31, Prashanth Patelc wrote: Hi all, How to save employees information using ajax with django form , id should automatic generation ? Try this helpful link: https://googlethatforyou.com?q=django%20ajax%20form Kind regards, Kasper Laudrup -- You received this message becau

Re: Django urls error

2023-04-15 Thread 'Kasper Laudrup' via Django users
On 14/04/2023 21.48, lalit upadhyay wrote: * I have copied my code here. The code is from a project called "myproject" Plz fix this error: The error is from a project called "Tesing". You can ignore all other answers you've been given so far until you figure out how that could be. Ki

Re: Django urls error

2023-04-15 Thread Karthik V A
Bro, From myapp/ urla.py Url pattern =[ Path('hello', views.hello_delhi_capitals, name = hello_delhi_capitals)] On Sat, 15 Apr, 2023, 8:35 pm b1t, wrote: > ou haven't defined the home url that you are trying to access > > On Saturday, 15 April 2023 at 03:37:38 UTC+5:30 lalit upadhyay wrote:

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
You are suppose to use localhost:8000/hello/hello. Because, you added hello as you path when you are including the app urls to the project url and also you made hello the path to the view of hello_delhi_ Which makes 2 hello's.. Use localhost:8000/hello/hello On Sat, Apr 15, 2023, 9:27 AM

Re: Django urls error

2023-04-15 Thread b1t
You define hello/ in your base urls.py file and again in your myapp/urls.py so that's create a URL like this "127.0.0.1/hello/hello". instead use this in your myapp/urls.py urlpatterns = [ path('', hello_delhi_capitals, name='hello_delhi_capitals'), ] On Saturday, 15 April 2023 at 13:57:36 UTC+

Re: Django urls error

2023-04-15 Thread አብርሃም መስፍን
remove 'hello' from myapp.py to access the site on 'hello' or you can access it at 'hello/hello' On Sat, Apr 15, 2023, 11:57 AM lalit upadhyay wrote: > I haven't used admin/ in my urls.py in myapp > from django.urls import path > > from . import views > > urlpatterns = [ > path('', views.index,

Re: Django urls error

2023-04-15 Thread Shaikh Mudassir
In *myproject/urls.py *you have defined a path *hello/* for *myapp *and then again you define *hello/ *for the hello_delhi_capitals method. Now, You have two solution 1. You call *http://127.0.0.1:8000/home/home * 2. You can remove */home* in *myproject/urls.py * like this *path(**'', include('

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
What I notice is that wgen you are creating ur urls at the project level, you used "hello/" and you include the the app level urls. If you want to request the route from the browser, you are suppose to use localhost:8000/hello, not localhost:home. Remember: you did not create a route for "home

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
So if you want to request you page, it will look like this, localhost:hello/hello. At the app level of the urls, you can leave that path empty like this. path(" ", views.delih.., name = "deliii") Then you can request you web page as localhost:/hello On Sat, Apr 15, 2023, 12:38 AM L

Re: Django urls error

2023-04-15 Thread b1t
ou haven't defined the home url that you are trying to access On Saturday, 15 April 2023 at 03:37:38 UTC+5:30 lalit upadhyay wrote: > *I have copied my code here. Plz fix this error:* > > > view.py > from django.http import HttpResponse > > > def hello_delhi_capitals(request): > return HttpRespon

Re: Django urls error

2023-04-15 Thread b1t
You are trying to access the home/ URL which u haven't defined yet On Saturday, 15 April 2023 at 03:37:38 UTC+5:30 lalit upadhyay wrote: > *I have copied my code here. Plz fix this error:* > > > view.py > from django.http import HttpResponse > > > def hello_delhi_capitals(request): > return HttpR

Django forms data save using ajax

2023-04-15 Thread Prashanth Patelc
Hi all, How to save employees information using ajax with django form , id should automatic generation ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-

Re: Django urls error

2023-04-15 Thread lalit upadhyay
I haven't used admin/ in my urls.py in myapp from django.urls import path from . import views urlpatterns = [ path('', views.index, name="index"), ] On Saturday, April 15, 2023 at 2:01:53 PM UTC+5:30 Karthik V A wrote: > Remove admin/ url pattern at urls.py in myapp > > On Sat, 15 Apr, 2023,

Re: Django urls error

2023-04-15 Thread Karthik V A
Remove admin/ url pattern at urls.py in myapp On Sat, 15 Apr, 2023, 1:58 pm lalit upadhyay, wrote: > > *I have replaced URL ‘home/’ to ‘hello/’ but still i got same error* > On Saturday, April 15, 2023 at 7:29:15 AM UTC+5:30 Muhammad Juwaini Abdul > Rahman wrote: > >> In your urls.py you use '/h