RE: Please help me out!!!!!

2020-06-03 Thread Vishesh Mangla
Href="" url ‘ name’%}Where name is the name parameter of the view in urls.py. Urlpatterns=[path(“/myview”, views.myview, name=”myview”)] In this caseHref="" url ‘ App_name/myview’%}Write your app name in App name Sent from Mail for Windows 10 From: meera ganganiSent: 03 June 2020 12:49To: django-us

Re: Please help me out!!!!!

2020-06-03 Thread meera gangani
Yes i Did, But Nothing is working, with data-toggle href is not working On Wed, Jun 3, 2020 at 1:00 PM Ajay Rathore wrote: > Hello Meera, > > Did you try using urls as > > > > And I think you should check what messages you received on the shell where > you are running ./manage.py runserver com

Re: Please help me out!!!!!

2020-06-03 Thread maninder singh Kumar
Is it a navbar or just a plain dropdown ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Wed, Jun 3, 2020 at 1:31 PM meera gangani wrote: > Yes i Did, > But Nothing is working, > with data-toggle href is not workin

Re: Issue with serving angular with django

2020-06-03 Thread Andréas Kühne
Hi again, How are you serving the django application? As far as I know the only way to get django to serve your staticfiles (which you are describing) is to set DEBUG to true and also use the runserver command. How do you get the paths to the static files? What I would do is the following: 1. Che

Re: Custom template tags - instance.templatetag

2020-06-03 Thread Andréas Kühne
Hi Jan, You can't do it like that. A templatetag is a simple function that is handled in a special way by the django templating language. See here for an explanation: Med vänliga hälsningar, Andréas Den tis 2 juni 2020 kl 22:53 skrev Jan Gregorczyk : > Hi! How to change my template tag? > f

Re: Custom template tags - instance.templatetag

2020-06-03 Thread Andréas Kühne
Sorry - I posted that without a link? https://stackoverflow.com/questions/1333189/django-template-system-calling-a-function-inside-a-model This is by design - and you should always try to simplify what you are doing in django templates. Regards, Andréas Den ons 3 juni 2020 kl 11:41 skrev Andr

Re: django-tenants domain issue

2020-06-03 Thread Andréas Kühne
You just need to add those to your hosts file locally on your computer. If you are using Mac: https://www.imore.com/how-edit-your-macs-hosts-file-and-why-you-would-want If you are using Linux: https://support.rackspace.com/how-to/modify-your-hosts-file/ If you are using Windows: https://support.

Re: Please help me out!!!!!

2020-06-03 Thread 'Ajay Rathore' via Django users
Hello Meera, Did you try using urls as And I think you should check what messages you received on the shell where you are running ./manage.py runserver command. This might give more information on the problem. Regards Ajay On Wed, Jun 3, 2020 at 10:21 AM meera gangani wrote: > Hello Djang

Re: Please help me out!!!!!

2020-06-03 Thread Integr@te System
Hi freind, You ever check typo in your code in base.html on for loop at "noti"!? gl! On Wed, Jun 3, 2020, 2:20 PM meera gangani wrote: > Hello Django-users > > href is not working > here is my views.py file and my urls.py file > > Please Help me out!! > > Thank you in advance > -Meera > > -- >

Re: Please help me out!!!!!

2020-06-03 Thread Hella Nick
请检查您的路由地址,问题就出现在那里。 meera gangani 于2020年6月3日 周三15:19写道: > Hello Django-users > > href is not working > here is my views.py file and my urls.py file > > Please Help me out!! > > Thank you in advance > -Meera > > -- > You received this message because you are subscribed to the Google Groups > "Djan

Geodjango Exception when importing django.contrib.gis.gdal

2020-06-03 Thread Farook M
I have installed python 3.7.5 64 bit. GDAL 2.4.4 and corresponding python gdal from http://www.gisinternals.com/query.html?content=filelist&file=release-1900-gdal-2-4-4-mapserver-7-4-3.zip I have also set environment variables correctly. I did a gdalinfo --version from command prompt, i could

Re: Please help me out!!!!!

2020-06-03 Thread Lily Perera Capetillo
Hi try this Urlpatterns=[ path(“/myview”, views.myview, name=”myview”) ] In this case Href={% url ‘ App_name/myview’%} Write your app name in App name but here Href={% url ‘ App_name/myview’%} put it this way href={% url ‘ App_name:myview’%} with : El mié., 3 jun. 2020 a las 8:00, meera

RES: Geodjango Exception when importing django.contrib.gis.gdal

2020-06-03 Thread Samuel Nogueira
Hi Farook. Are you using sqlite as your database?De: Farook MEnviado:quarta-feira, 3 de junho de 2020 13:46Para: Django usersAssunto: Geodjango Exception when importing django.contrib.gis.gdal I have installed python 3.7.5 64 bit. GDAL 2.4.4 and corresponding python gdal from http://www.gisinternal

RES: Geodjango Exception when importing django.contrib.gis.gdal

2020-06-03 Thread Samuel Nogueira
Hi Farook. Are you using sqlite3 as your application database? De: Farook MEnviado:quarta-feira, 3 de junho de 2020 13:46Para: Django usersAssunto: Geodjango Exception when importing django.contrib.gis.gdal I have installed python 3.7.5 64 bit. GDAL 2.4.4 and corresponding python gdal from http://w

Re: Model Arithmetic Operation

2020-06-03 Thread Dumba Classics
Inbox me with your objective on what you want to accomplish and give me the the piece of code trying to emulate your two models and then I will look into your code and give the Solution if I can. Sincerely D.C On Wed, Jun 3, 2020 at 5:12 AM Hella Nick wrote: > >- > >Niggers are clearly

Re: django-tenants domain issue

2020-06-03 Thread Dumba Classics
Thank you Sir you are a life saver On Wed, Jun 3, 2020 at 11:49 AM Andréas Kühne wrote: > You just need to add those to your hosts file locally on your computer. > > If you are using Mac: > https://www.imore.com/how-edit-your-macs-hosts-file-and-why-you-would-want > > If you are using Linux: >

Configure a VPS

2020-06-03 Thread Giovanni Silva
I need to deploy a django application on my vps server alguém tem algum passo a passo de como configurar o VPS? my system is windows -- *Giovanni Silva* (31) 9 9532-1877 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from thi

Any free MAP API available

2020-06-03 Thread Ram
Hi, We need to add location map based on the zip code in our DJango web application. Is there any free API available out there? if you have used it already could you suggest one? Thanks, ~Ram -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Any free MAP API available

2020-06-03 Thread meera gangani
you can use* Geo-Django *Library available in django On Thu, Jun 4, 2020 at 3:15 AM Ram wrote: > Hi, > > We need to add location map based on the zip code in our DJango web > application. Is there any free API available out there? if you have used it > already could you suggest one? > > Thanks,