apitals, name='hello_delhi_capitals'),
]
--
Code: myapp/urls.py
### refers to all the common route associated to 'myapp' app
from django.http import HttpResponse
def hello_delhi_capitals(request):
return HttpResponse('Hello De
Exactly
On Tue, 18 Apr, 2023, 3:46 am Tarun Miri, wrote:
> You may not write any string on the urls.py of myapp/urls.py
> Ex path('',hello_delhi_capitals,name="hello_delhi_capitals"),
>
> On Sat, 15 Apr, 2023, 7:29 am Muhammad Juwaini Abdul Rahman, <
> juwa...@gmail.com> wrote:
>
>> In your urls
You may not write any string on the urls.py of myapp/urls.py
Ex path('',hello_delhi_capitals,name="hello_delhi_capitals"),
On Sat, 15 Apr, 2023, 7:29 am Muhammad Juwaini Abdul Rahman, <
juwa...@gmail.com> wrote:
> In your urls.py you use '/hello' but in your browser you type '/home'.
>
> On Sat,
do not write hello at the project level This is not correct
path('hello/', include('myapp.urls')),
The code below is correct
path('' ",include("myapp.urls"),
On Sun, 16 Apr 2023 at 21:34, oluwafemi damilola
wrote:
> Your path is 'hello/', but in your browser you are going to 'home', that
> path
Your path is 'hello/', but in your browser you are going to 'home', that
path does not exist
On Fri, 14 Apr 2023 at 23:07, 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):
> ret
If you are still getting the error if you visit the 'hello' path, then you
should visit 'hello/hello/'
On Sun, 16 Apr 2023 at 11:19, oluwafemi damilola
wrote:
> Your path is 'hello/', but in your browser you are going to 'home', that
> path does not exist
>
> On Fri, 14 Apr 2023 at 23:07, lalit
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
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:
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:
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+
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,
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('
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
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, Ap
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
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
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,
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
In your urls.py you use '/hello' but in your browser you type '/home'.
On Sat, 15 Apr 2023 at 06:07, 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 HttpResponse('Hell
Please What exactly is the name of your error?
Is it showing 'page not found' ?
If so, then kindly apply the urls to your localhost:8000/urls_name
Regards...
On Wed, Nov 9, 2022, 18:26 'Kasper Laudrup' via Django users <
django-users@googlegroups.com> wrote:
>
On 09/11/2022 10.52, Priyanka Sivaratri wrote:
Hi,
I am new to django and I appreciate your quick help. I am able to run
django server on localhost:8000 but I am seeing this error :
*You are seeing this page because DEBUG=True is in your settings file
and you have not configured any URLs
Hi,
I am new to django and I appreciate your quick help. I am able to run
django server on localhost:8000 but I am seeing this error :
*You are seeing this page because DEBUG=True is in your settings file and
you have not configured any URLs.*
urls.py:
from django.contrib import admin
from
Hi all,
how test the urls in django rest , i need each url response how to write
one file for each url response
need to write a URL in our application, which will return working or
something as a response ?
* not test cases
--
You received this message because you are subscribed to the
o reverse a URL, since the format and variables for each path are
recorded in the URLConf. But you can't create a URLConf without importing
the views it calls; and Django will consider it invalid and refuse to
parse/reverse those URLs for you if it doesn't have access to the views.
Is
ific. Is there a
> way for Service A to reverse URLs served by Service B without having to
> import all the dependencies that are necessary to execute Service B's views?
>
> thanks,
> -Noemi
>
--
You received this message because you are subscribed to the Google Groups
&
Hi folks --
Let's say you have two different services with different views and
URLConfs; some shared modules/apps and some service-specific. Is there a
way for Service A to reverse URLs served by Service B without having to
import all the dependencies that are necessary to execute Servic
f there is a built-in REST API support for Django. And In the
> views.py if we have a @urls(["/home", "/"]) decorator for function-based
> view and for Class-based view URLs attribute that works as like flask and
> fast API or other web backend frameworks it will b
With due respect, it is my request that it will be better for Django
developers if there is a built-in REST API support for Django. And In the
views.py if we have a @urls(["/home", "/"]) decorator for function-based
view and for Class-based view URLs attribute that works as
9:52 AM Lalit Suthar
> wrote:
>
>> print(links) outside for loop. Even then if nothing prints means your
>> `listings` is empty
>>
>> On Tue, 22 Jun 2021 at 08:51, ram manoj Vuyyuru <
>> rammanojvuyy...@gmail.com> wrote:
>>
>>> HI
>>&g
ide for loop. Even then if nothing prints means your
> `listings` is empty
>
> On Tue, 22 Jun 2021 at 08:51, ram manoj Vuyyuru
> wrote:
>
>> HI
>> help me for getting urls for each product
>> import pandas as pd
>> import requests
>> from bs4 impo
print(links) outside for loop. Even then if nothing prints means your
`listings` is empty
On Tue, 22 Jun 2021 at 08:51, ram manoj Vuyyuru
wrote:
> HI
> help me for getting urls for each product
> import pandas as pd
> import requests
> from bs4 import BeautifulSoup as bs
>
HI
help me for getting urls for each product
import pandas as pd
import requests
from bs4 import BeautifulSoup as bs
url = "https://www.adidas.com.my/en/men-shoes?start=0";
page = requests.get(url)
soup = bs(page.text,"html.parser")
links=[]
listings = soup.find_all(
path('' ", include('name_of_your_app.urls')).
Tip - You should learn more about, how to send an email.
On Sat, Mar 20, 2021, 10:41 PM Mahendra wrote:
>
>
> Mahendra Yadav
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe
Mahendra Yadav
--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://group
Thanks Jorge
it was of great help
On Sat, 20 Feb 2021 at 20:33, Jorge Gimeno wrote:
>
>
> On Wed, Feb 17, 2021 at 11:00 PM RANGA BHARATH JINKA <
> bharathjink...@gmail.com> wrote:
>
>> Hi,
>>
>> Please follow these docs
>> https://docs.djangoproj
On Wed, Feb 17, 2021 at 11:00 PM RANGA BHARATH JINKA <
bharathjink...@gmail.com> wrote:
> Hi,
>
> Please follow these docs
> https://docs.djangoproject.com/en/3.1/ref/urls/#include
>
> On Thu, Feb 18, 2021 at 12:12 PM Peter Kirieny
> wrote:
>
>> if self
Hi,
Please follow these docs
https://docs.djangoproject.com/en/3.1/ref/urls/#include
On Thu, Feb 18, 2021 at 12:12 PM Peter Kirieny
wrote:
> if self.pattern.name is not None and ":" in self.pattern.name:
> TypeError: argument of type 'type' is not iterable
>
OOT)
>>>
>>>
>>> in the app's urls.py
>>>
>>> from django.urls import path
>>> from .views import ShopsView
>>>
>>> app_name = 'Shops'
>>>
>>> urlpatterns = [
>>> path('Shops/'
h
>> from .views import ShopsView
>>
>> app_name = 'Shops'
>>
>> urlpatterns = [
>> path('Shops/', ShopsView.as_view(), name=ShopsView)
>>
>>
>> On Wed, 17 Feb 2021 at 17:52, Nicolas nasr wrote:
>>
>>> Can y
from django.urls import path
> from .views import ShopsView
>
> app_name = 'Shops'
>
> urlpatterns = [
> path('Shops/', ShopsView.as_view(), name=ShopsView)
>
>
> On Wed, 17 Feb 2021 at 17:52, Nicolas nasr wrote:
>
>> Can you please show
ort ShopsView
app_name = 'Shops'
urlpatterns = [
path('Shops/', ShopsView.as_view(), name=ShopsView)
On Wed, 17 Feb 2021 at 17:52, Nicolas nasr wrote:
> Can you please show your urls.py file
>
> On Wednesday, February 17, 2021 at 8:31:50 AM UTC+2 kirien...@gmail
Can you please show your urls.py file
On Wednesday, February 17, 2021 at 8:31:50 AM UTC+2 kirien...@gmail.com
wrote:
> someone to help me to set up urls of two different apps in django project
> please, i keep on getting errors
> am new
>
--
You received this message bec
_url_config
return check_resolver(resolver)
File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\checks\urls.py",
line 23, in check_resolver
return check_method()
File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\urls\resolvers.
someone to help me to set up urls of two different apps in django project
please, i keep on getting errors
am new
--
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, sen
otFoundError: No module named 'app.urls'*
>
>
> app is what is created by python3 manage.py startapp app
>
> and project is what is created by python3 venv/bin/django-admin.py
> startproject project
>
>
> can you please explain to me how to resolve? I am trying to re
reated by python3 manage.py startapp app
and project is what is created by python3 venv/bin/django-admin.py
startproject project
can you please explain to me how to resolve? I am trying to read through
different documentation of URL resolution and tried
from app import views
or
from app im
asses, or Djanago tools
>
> are allowed in its calling syntax... Example
>
>
> from django.urls import path
> from MyApplication import views
>
>
> What I am looking for is an explanation of what things can be imported with
> URLS, VIEWS, HTTP
>
> There are ot
ing for is an explanation of what things can be imported with
> URLS, VIEWS, HTTP
>
> There are other classes each can use, but I have not been able to find any
> source or book
>
> that outlines all the classes or commands that can be used in Django
> statements using...
>
I am looking for is an explanation of what things can be imported with
> URLS, VIEWS, HTTP
>
> There are other classes each can use, but I have not been able to find any
> source or book
>
> that outlines all the classes or commands that can be used in Django
> statements
I have been looking for a Django Reference Manual to let me know what classes,
or Djanago tools
are allowed in its calling syntax... Example
from django.urls import path
from MyApplication import views
What I am looking for is an explanation of what things can be imported with
URLS
You can now easily write your URL patterns like this.
from django.urls import path
urlpatterns = [
path("", someview, name="somename")
]
On Mon, Jun 15, 2020 at 5:52 PM Kayode Oladipo
wrote:
> Use the path( ) method.
>
> from django.urls import path
>
> path('',...)
>
> On Mon, Jun 15, 20
Use the path( ) method.
from django.urls import path
path('',...)
On Mon, Jun 15, 2020, 2:21 PM Adya Mit wrote:
> (?P\d+)/$ django
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emai
(?P\d+)/$ django
--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://gr
from the database
> -
>
> HTML File code -
>
> {% for thread in object %}
> role="button">{{ thread.name }} Something {% endfor
> %}
>
> URLs files code -
>
> path('message//', views.message, name='message'),
>
> Views files
gt; that in the next link to access a specific set of entries from the
> database -
>
> HTML File code -
>
> {% for thread in object %}
> role="button">{{ thread.name }} Something {% endfor %}
> URLs files code -
> path('message//', views.me
-
{% for thread in object %}
{{ thread.name }}
Something
{% endfor %}
URLs files code -
path('message//', views.message, name='message'),
Views files code
def message(request, threadid):
if request.method == 'POST':
print(request.POST.get('
On Fri, Feb 21, 2020 at 2:24 AM Phil Kauffman
wrote:
> So something like this?
>
Yes if you are using method based views. You can still do the same using
class-based views by referring to the following
https://stackoverflow.com/questions/15622354/django-listview-with-post-method
> def site(requ
So something like this?
def site(request, site_id):
site = get_object_or_404(Site.name, pk=site_id)
def sitesubmit(request):
#site=get_object_or_404(Site, pk=site_id)
form = SelectSite()
if request.method == 'POST':
form = SelectSite(request.POST)
if form.is
On Thu, Feb 20, 2020 at 11:38 PM Phil Kauffman
wrote:
> Hello,
>
> Newbie in need of a little shove. It seems I need to review the purpose of
> the urls.py file. At present I am getting an HTTP Error 405 with the
> following:
>
HTTP 405 error code states the the HTTP method is not allowed on the
Hello,
Newbie in need of a little shove. It seems I need to review the purpose of
the urls.py file. At present I am getting an HTTP Error 405 with the
following:
urls.py:
path('', views.show_site, name = 'home'),
path('site-view', views.List.as_view(), name='site-view')
views.py
class List(Lis
Please help:
https://www.reddit.com/r/django/comments/f4390j/conflicting_urls_drf/
--
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-users+unsubscr...@goog
Thank you Sencer.
Bruckner de Villiers
083 625 1086
From: on behalf of Sencer Hamarat
Reply to:
Date: Tuesday, 10 December 2019 at 13:51
To:
Subject: Re: Removing Hardcoded urls in Templates
Would you please replace url name with 'polls:detail', as described
Thank you Daniel.
Bruckner de Villiers
083 625 1086
From: on behalf of Daniel Hepper
Reply to:
Date: Tuesday, 10 December 2019 at 13:54
To:
Subject: Re: Removing Hardcoded urls in Templates
It should be {% url 'polls:detail' question.id %}
I think you mixed up
Your code:
“<*li*><*a* href="{% *url* 'detail' question.id %}">{{
question.question_text }}”
Try addinga polls:detail like this:
“<*li*><*a* href="{% *url* 'polls:detail' question.id %}">{{
question.question_text }}”
uto, 10. dec 2019. 11:58 Bruckner de Villiers
је написао/ла:
> Running Dja
It should be {% url 'polls:detail' question.id %}
I think you mixed up the steps "Removing hardcoded URLs in templates" and
"Namespacing URL names"
Hope that helps,
Daniel
On Tue, Dec 10, 2019 at 11:58 AM Bruckner de Villiers <
bruckner.devilli...@gmail.
Would you please replace url name with 'polls:detail', as described at
https://docs.djangoproject.com/en/3.0/topics/http/urls/#id5
Saygılarımla,
Sencer HAMARAT
On Tue, Dec 10, 2019 at 1:58 PM Bruckner de Villiers <
bruckner.devilli...@gmail.com> wrote:
> Running Django
Running Django 3.0 & Python 3.7.3.
Issue with Tutorial Part 3:
I replaced “{{ question.question_text
}}” with
“{{ question.question_text
}}” and get the following error:
Reverse for 'detail' not found. 'detail' is not a valid view function or
pattern name.
{{ question.question_text
}}
index
Hello everyone, I would like you to help me with this problem.
I have two models Headquarters and Salon
when I click on a venue {{headquarters.name}} list all the rooms that the headquarters
has, when I want to edit a salon when saving the changes generates the
following error:
NoReverse
6:47 PM Md Nayem Tushar
wrote:
> how to add many html file in app urls without edit project urls? pls ans me
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving e
how to add many html file in app urls without edit project urls? pls ans me
--
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-user
Hi,
You will need to make the change in both urls.py files that you have
created.
Regards,
On Thu., 3 Oct. 2019, 3:36 pm MEGA NATHAN,
wrote:
> Hi.
> In which file i rewrite ....app/urls are main file url i write...
>
>
>
>
>
> *Regards*
> Meganathan G
>
>
Hi.
In which file i rewrite app/urls are main file url i write...
*Regards*
Meganathan G
On Thu, Oct 3, 2019 at 10:21 AM Suraj Thapa FC
wrote:
> In urls.py
> Write
> from django.urls import path
>
> On Thu, 3 Oct, 2019, 10:02 AM MEGA NATHAN,
> wrote:
>
In urls.py file ..
First import- from django.urls import path
Than use it.
..
In django 2.2
On Thu, Oct 3, 2019, 10:02 AM MEGA NATHAN wrote:
> Hi.
>
>
> i'm meganathan beginer for django
>
> urls cannot import for path . how to reslove
>
> --
> You r
han beginer for django
>
> urls cannot import for path . how to reslove
>
> --
> 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
In urls.py
Write
from django.urls import path
On Thu, 3 Oct, 2019, 10:02 AM MEGA NATHAN,
wrote:
> Hi.
>
>
> i'm meganathan beginer for django
>
> urls cannot import for path . how to reslove
>
> --
> You received this message because you are subscribe
sion of DRF (3.9.x); I
haven checked how the code looks in older versions.
On Wednesday, 22 May 2019 17:20:20 UTC+2, Rounak Jain wrote:
>
> I am using DRF Viewsets to auto-generate URLs for different views. Is it
> possible to write the code below without using regex?
> Thanks
>
&g
I cannot see any reply
On Thursday, May 23, 2019 at 7:56:54 AM UTC+5:30, Kevin Jay wrote:
>
> kevin@kjay,net
>
> On Wed, May 22, 2019 at 10:19 AM Rounak Jain > wrote:
>
>>
>> I am using DRF Viewsets to auto-generate URLs for different views. Is it
>> poss
kevin@kjay,net
On Wed, May 22, 2019 at 10:19 AM Rounak Jain wrote:
>
> I am using DRF Viewsets to auto-generate URLs for different views. Is it
> possible to write the code below without using regex?
> Thanks
>
> from .views import TaskViewSet
> from rest_framework.routers
Thanks for the reply. I understand how to use them in urls.py when creating
normal routes but here in case of drf, it would help if you could show me
how to do it
On Wed, May 22, 2019 at 10:11 PM Onasanya Tunde
wrote:
> Use Django2.X
>
> --
> You received this message because you are subscribed
Use Django2.X
--
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-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@google
I am using DRF Viewsets to auto-generate URLs for different views. Is it
possible to write the code below without using regex?
Thanks
from .views import TaskViewSet
from rest_framework.routers import DefaultRouter
router = DefaultRouter()
router.register(r'', TaskViewSet, base
I am actually developing an android app which will fetch data using an api
. I am trying to pass multiple parameters in the url using query strings,
but I am not able concatenate those parameters in the url.
eg: U/userapi/?email=abc&pass=bcd
I trying to achieve the above example.
How do I take
What is the function 'detail' ? You need to assign 'slug' variable also in
order to pass it to the url.
On Sun, 28 Apr 2019, 13:50 Aayush Bhattarai,
wrote:
> Hello Everyone,
>
> I want to pass two url in url of template. I have added in urls.py also.
>
> code:-
> Index.html
> *http://detail.id>
Hello Everyone,
I want to pass two url in url of template. I have added in urls.py also.
code:-
Index.html
**
*In Up I want to pass slug. What Should I do.*
*urls.py:*
*path("detail//"),*
*Thanks For Help*
--
You received this message because you are subscribed to the Google Groups
"Django
Hola Abel.
Que exactamente en lo que estas teniendo problemas para configurar?
On Tue, Feb 19, 2019 at 11:21 AM Abel Sena wrote:
> no puedo configuralo
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and
Django LTS
url(r'^$', IndexView.as_view(), name='index'),
IndexView es tu clase que esta en views.py
Django 2.x
path('', IndexView.as_view(), name='index'),
On Tue, Feb 19, 2019 at 11:21 AM Abel Sena wrote:
> no puedo configuralo
>
> --
> You received this message because you are subscribed to
no puedo configuralo
--
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-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users
I'm happy to announce the 1.1.0 release of django-service-urls package, an
evolution of dj-database-url which can handle CACHES and EMAIL_BACKEND setting
other than DATABASES.
*News*
Simplified installation: instead of modifying the setting file (possibility
that is always available) jus
I'm happy to announce the release of django-service-urls package, an
evolution of dj-database-url which can handle CACHES and EMAIL_BACKEND
setting other than DATABASES.
*Urls*
pypi and docs: https://pypi.org/project/django-service-urls/
main repo (bitbucket): https://bitbucket.org/rsa
which is your error? The one with "unable to load files.js? If so, check
your template. Probably available static files path issue.
On Fri, 19 Oct, 2018, 5:29 PM Tosin Ayoola, wrote:
> got little project on the project, i'm working on, can't seems
> to able to save my form to databa
I am creating a website in django and I was wondering how I can add a url
to Django Model and then retrieve that url to provide to the {% url
'url_in_db'%} in the templates. If not, can anyone give me any other
suggestions to achieve this?
--
You received this message because you are subscribe
linic'), # for
example.com/ where "something" part is gonna be searched in
/clinic/urls.py
path('', include('doctors.urls'), namespace='doctor'), # for
example.com/ where "something" part is gonna be searched in
/doctors/urls.py
]
*WA
I have a project named myappointments, which has two apps, clinic and
appointments. As of now, I am using the following urls in clinic.urls:
path('newclinic', views.newclinic, name="newclinic"),
path('/', views.clinic_home, name="clinic_home"),
path('
If you're using django-storages with S3 as the media backend then there is
a setting called AWS_S3_FILE_OVERWRITE that prevents files with the same
name form being uploaded. In those cases the library appends a suffix
similar to your example.
Usually this is useful to prevent files from being over
please share code ..
Is this image from admin panel or from website front ..
please share models.py , admin.py , views.py and forms.py
On Mon, Sep 10, 2018 at 12:47 AM KarmaFish wrote:
> Hello we had no issues uploaded images to our servers pointing toa n
> image name.
> But this Dev came
Hello we had no issues uploaded images to our servers pointing toa n image
name.
But this Dev came in and changed the code.
Whenever we upload a new image for a product, after save , we'd go back to
find that the image name had an automatically generated code added to the
jpg filename making th
sos de la documentacion
> para crear una primera aplicacion consegui instalr django y craer con
> startproject un projecti inicial sin problemas, mi primer problema se
> presenta cuando configuro las urls al crear con el $python manage.py
> startapp polls dichos archivos sigo los pa
jango y craer con
>> startproject un projecti inicial sin problemas, mi primer problema se
>> presenta cuando configuro las urls al crear con el $python manage.py
>> startapp polls dichos archivos sigo los pasos hasta donde en el archivo
>> polls/views.py se incrusta el siguient
y django estaba siguiendo los pasos de la documentacion
> para crear una primera aplicacion consegui instalr django y craer con
> startproject un projecti inicial sin problemas, mi primer problema se
> presenta cuando configuro las urls al crear con el $python manage.py
> startapp polls
rs = {'href': smart_url}
html = format_html(
'{} {}{}
{}',
'Click here:', flatatt(final_attrs), value,
'', html
)
return html
This works nicely with most URLs but I have found one which barfs
working url with smart_urlquote d
1 - 100 of 1301 matches
Mail list logo