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.
--
Ticket URL: <https://code.djangoproject.com/ticket/33377#comment:1>
* 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>