Django Login Secret key

2019-07-09 Thread Sebastian Jung
Hello, I want in my Login Page a further field Secret Key. This Input ist replacement dir Secret Key in settings.py. Ist this possible? Can someone explain me how? Regards -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: linking different wepages

2019-07-09 Thread Chetan Ganji
Because the href is relative to the current page. Use url tag of django templates. That will solve your problemo. On Mon, Jul 8, 2019, 9:20 PM Surya Adhikari wrote: > my nav menu have 2 menus : > Home , Search Names > > ie. from index page when i click student from Sub menu of Search names ,

Re: Django post request faild on user_id

2019-07-09 Thread Chetan Ganji
Please paste the whole view so that someone can help you. On Tue, Jul 9, 2019, 5:34 PM Aayush Bhattarai wrote: > Hello, My Question is here. > It will be better if you give me a full answer. > >

Redireccionamiento

2019-07-09 Thread samuel lopez
Tengo un problema con los links y es que todo está bien internamente osea los tags, urls, views y todo, pero cuando le doy click al botón o al enlace del nav o cualquier otro, no me redirecciona pero si le doy a abrir en otra ventana, me redirecciona correctamente y en el navegador de Chrome

Re: How to set timezone in Django.

2019-07-09 Thread Paul Gureghian
I used "America / Los_Angeles , and it worked. thanks On Tuesday, July 9, 2019 at 1:43:20 PM UTC-7, M. A wrote: > > 'PST' is not available in pytz > > The Pacific available timezones are : > > 'PST8PDT' > 'Pacific/Apia' > 'Pacific/Auckland' > 'Pacific/Bougainville' > 'Pacific/Chatham' >

Re: NEWBIE

2019-07-09 Thread vineet daniel
First of all its Django and not Gjango and rather than getting mastery over a framework in two months Id suggest that you start with python or any programming language which has OOPs. If you are not sure what that is then start from very basic of programming. There is no shortcut to success. Have

Re: How to set timezone in Django.

2019-07-09 Thread M. A
'PST' is not available in pytz The Pacific available timezones are : 'PST8PDT' 'Pacific/Apia' 'Pacific/Auckland' 'Pacific/Bougainville' 'Pacific/Chatham' 'Pacific/Chuuk' 'Pacific/Easter' 'Pacific/Efate' 'Pacific/Enderbury' 'Pacific/Fakaofo' 'Pacific/Fiji' 'Pacific/Funafuti' 'Pacific/Galapagos'

Django bug: change uuid field to FK does not create dependency

2019-07-09 Thread Viktor Lomakin
Hi! I am new in django community, so please help me, because i really dont know is it really "bug". I have a django project named "testproject" and two apps: testapp1, testapp2. It will be simpler to understand, with this example: # TestApp1(models.py): class App1(models.Model): id =

Help filtering choice_set based on size of set in Django Tutorial

2019-07-09 Thread James Boulger
Hello, I am posting because I am working on the Django documentation tutorials and am currently on the testing portion (https://docs.djangoproject.com/en/2.2/intro/tutorial05/). In this tutorial where we are building the polls application, there is a portion where we wish to restrict what

Re: access league by league-code REST api

2019-07-09 Thread omar ahmed
thank you Derek it works now i read documentation do you have any advice ? On Sunday, July 7, 2019 at 10:18:56 AM UTC+2, Derek wrote: > > Have you tried without the {'code'} > > As per their example: > > [image: api1.png] > > > On Thursday, 4 July 2019 23:42:05 UTC+2, omar ahmed wrote: >> >> hiii

Re: E-mail sending... but.. not sending?

2019-07-09 Thread Jani Tiainen
Hi. Looks like your backend isn't right if you see message in the console. Also if using gmail you have allowed insecure apps? ti 9. heinäk. 2019 klo 17.47 grwhumphries kirjoitti: > I've got a bit of a mystery. I've got a Django Wagtail project with > Spirit as an added app. I'm trying to

E-mail sending... but.. not sending?

2019-07-09 Thread grwhumphries
I've got a bit of a mystery. I've got a Django Wagtail project with Spirit as an added app. I'm trying to get the e-mail system working... I've included the following in settings/base.py EMAIL_NAME = 'myem...@gmail.com' EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

Re: cicking to menu in navebar leads another subpage /subpage

2019-07-09 Thread Jani Tiainen
It is explained at least in official tutorial part 3 in very detail. https://docs.djangoproject.com/en/2.2/intro/tutorial03/ ti 9. heinäk. 2019 klo 16.34 Surya Adhikari kirjoitti: > Home > > like this also it is not working can you please exaplin me where and how > should i use {% url %} >

Re: cicking to menu in navebar leads another subpage /subpage

2019-07-09 Thread Surya Adhikari
Home like this also it is not working can you please exaplin me where and how should i use {% url %} On Monday, 8 July 2019 22:26:07 UTC+5:45, Jani Tiainen wrote: > > Hi. > > There are two things wrong. > > First and most important is that you should always use {%url %} template > tag to

Re: Trademark search

2019-07-09 Thread Jani Tiainen
Well... Short answer is yes, no and maybe. Longer anwer is that you can do that with plain Django. Idea itself is so simple that it byself doesn't require any magic. Most if the required building blocks for such an web app has been dealt with default Django tutorial. If you did that you're

Re: Trademark search

2019-07-09 Thread Django Dojo
Are there any Django packages or api being used? On Tuesday, July 9, 2019, Jani Tiainen wrote: > Hi. > > Web page, database and most propably some programming to make search magic > happen. > > ti 9. heinäk. 2019 klo 13.44 Django Dojo > kirjoitti: > >> Hello, >> I’m trying to build a trademark

Re: CockroachDB & Django

2019-07-09 Thread Jani Tiainen
Hi. You should setup test environment that runs Django database tests against your backend. Preferably somewhere visible to public. That way it would be easier to start figuring out areas of improvement. ti 9. heinäk. 2019 klo 2.29 'Andy Woods' via Django users < django-users@googlegroups.com>

Re: Trademark search

2019-07-09 Thread Jani Tiainen
Hi. Web page, database and most propably some programming to make search magic happen. ti 9. heinäk. 2019 klo 13.44 Django Dojo kirjoitti: > Hello, > I’m trying to build a trademark search like: > https://www.trademarkengine.com/free-trademark-search/trademark-search. > > Can someone recommend

Re: NEWBIE

2019-07-09 Thread Jani Tiainen
And to give some perspective I have been working with Django @work last 10 years and I'm still far from mastering it. I'm pretty good with Django though. In other words it really takes a lot. Interns at work do get hang of basics in about two months but really them to get up to speed takes

Django post request faild on user_id

2019-07-09 Thread Aayush Bhattarai
Hello, My Question is here. It will be better if you give me a full answer. https://stackoverflow.com/questions/56919062/insert-or-update-on-table-app-job-violates-foreign-key-constraint-app-job-use Thanks for your help. -- You received this message because you are subscribed to the Google

Re: How to set timezone in Django.

2019-07-09 Thread Mike Dewhirst
UTC is a unique timezone independent of any country. It is associated exclusively with zero degrees of longitude. It means universal constant time. You need to research the correct standard code for the timezone you are interested in. Connected by Motorola Paul Gureghian wrote:

Re: NEWBIE

2019-07-09 Thread Javier Rivera
If you have no previous programing experience, a miracle. If you are already proficient with Python two months are enough to get comfortable with Django, but you will likely still be far from mastery. Best regards, Javier. O 09/07/19 ás 11:34, Afotro Ben escribiu: Hello,i am new to

Re: Hi

2019-07-09 Thread Nelson Varela
Yes -- 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

NEWBIE

2019-07-09 Thread Afotro Ben
Hello,i am new to programming and want to take learn and master web development with Gjango.Can anyone here tell me what it takes to doing it in 2 months? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Error when trying to render Folium map on Django Server

2019-07-09 Thread Sabasky
[image: Screenshot - 05_07_2019 , 10_12_37.png][image: Screenshot - 06_07_2019 , 13_59_04.png] [image: Screenshot - 06_07_2019 , 13_59_29.png] im not sure how to approach getting the html/js to work on the browser after the user has submitted their input via the previous html form... I

Hi

2019-07-09 Thread Paul Gureghian
Can I ask a Django question here ? -- 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

How to set timezone in Django.

2019-07-09 Thread Paul Gureghian
Specifically in the official 'polls' tutorial from the docs. In the 'mysite.settings.py' file. I changed from 'UTC' to 'PST' and 'pst' and both faulted. thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Trademark search

2019-07-09 Thread Django Dojo
Hello, I’m trying to build a trademark search like:https://www.trademarkengine.com/free-trademark-search/trademark-search. Can someone recommend to me how it’s done Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe