[Django] #33377: mysqlclient

7 views
Skip to first unread message

Django

unread,
Dec 18, 2021, 11:33:30 AM12/18/21
to django-...@googlegroups.com
#33377: mysqlclient
-------------------------------------------+------------------------
Reporter: Harsha Addanki | Owner: nobody
Type: Bug | Status: new
Component: Core (URLs) | Version: 2.2
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
The urls.py file In My Dango Project Is being Ignored; for Example I
Tried Commenting Out The Admin Urls From the Project, And I Could Still
Use The Admin. I tried Adding A Name Space, And Django Says It Doesn't
Exist.

mysite/urls.py:
{{{
"""mysite URL Configuration

The `urlpatterns` list routes URLs to views. For more information,
please see:
https://docs.djangoproject.com/en/3.0/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: path('', Home.as_view(),
name='home')
Including another URLconf
1. Import the include() function: from django.urls import include,
path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path,include
from django.conf.urls.static import static
from . import settings

urlpatterns = [
path('admin/', admin.site.urls),
path('',include("Wallet.urls"),
path('',include("django.contrib.auth.urls"))
] + static(settings.STATIC_URL,
document_root='/home/dh_hemuuv/minicoin.fztl.com/static')
}}}

Wallet/urls.py:
{{{
from django.urls import path
from .views import signup,viewWallet,transfer,userpage,collectgift

urlpatterns = [
path("signup/",signup,name="signup"),
path("",viewWallet,name="home"),
path("transfer/",transfer,name="transfer"),
path("account/<str:username>/",userpage),
path("collectgift/<int:id>/",collectgift,name="colgift"),
]
}}}
Please Help!

--
Ticket URL: <https://code.djangoproject.com/ticket/33377>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 18, 2021, 11:35:25 AM12/18/21
to django-...@googlegroups.com
#33377: Django Ignoring updates to urls.py
---------------------------------+--------------------------------------
Reporter: harsha7addanki | Owner: nobody

Type: Bug | Status: new
Component: Core (URLs) | Version: 2.2
Severity: Release blocker | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------

--
Ticket URL: <https://code.djangoproject.com/ticket/33377#comment:1>

Django

unread,
Dec 18, 2021, 2:21:20 PM12/18/21
to django-...@googlegroups.com
#33377: Django Ignoring updates to urls.py
--------------------------------+--------------------------------------

Reporter: Harsha Addanki | Owner: nobody
Type: Bug | Status: closed

Component: Core (URLs) | Version: 2.2
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid
* severity: Release blocker => Normal


Comment:

Please don't use Trac as a support channel. If you're having trouble
understanding how Django works, see
TicketClosingReasons/UseSupportChannels for ways to get help.

--
Ticket URL: <https://code.djangoproject.com/ticket/33377#comment:2>

Reply all
Reply to author
Forward
0 new messages