Re: problems with mysql client

2019-07-10 Thread ANIL UMARANE
install mysqlclient wheel file Regards.. Anil.K Mob:9019094199 On Thu, Jul 11, 2019 at 6:31 AM Sidy Ababacar Dieye < sidyababacar.di...@uadb.edu.sn> wrote: > Did you have any solutions for this now > > Le samedi 11 mai 2019 15:16:10 UTC, Rob W a écrit : >> >> for my django project, we

Adding Search functionality in django

2019-07-10 Thread Harshit Agarwal
Hello I am doing a project and want to add a voice search button in my website. Means intead of typing i can search using my voice. Does anyone has any idea about how can i do this ?. I am thinking of pyttsx3. Is it possible to do with it? Please help Thank you -- You received this message

Re: problems with mysql client

2019-07-10 Thread Sidy Ababacar Dieye
Did you have any solutions for this now Le samedi 11 mai 2019 15:16:10 UTC, Rob W a écrit : > > for my django project, we are using mysql. > > no matter how i try to install it, python-mysqldb, or just pip install > mysqlclient, it fails. > > i've installed mysqlconnector, i've tried everything.

Re: Redireccionamiento

2019-07-10 Thread samuel lopez
gracias, era eso, tenia un script que estaba interceptando los links El mié., 10 jul. 2019 a las 10:34, Vijay Khemlani () escribió: > No hay ningun JavaScript interceptando los links en tu pagina? > > On Tue, Jul 9, 2019 at 10:23 PM samuel lopez > wrote: > >> Tengo un problema con los links y

Re: ValueError

2019-07-10 Thread amin ghaemi
hi you must see tutorial of django Framework first and than start the work please Search django auth users django logins and sign up is automatic On Wed, Jul 10, 2019 at 10:34 PM Desh Deepak wrote: > Hi, I want to insert some data in MysqlDatabase from the template (HTML > file). > but, it

If you run my server code

2019-07-10 Thread Paul Gureghian
do you get redirected to a results page after voting in the poll ? my /Django repo. Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: ValueError

2019-07-10 Thread Jani Tiainen
Hi. Because indentation is broken it's hard to say exact problem location but in your view some code path doesn't return anything and thus you see error about returning None. ke 10. heinäk. 2019 klo 21.05 Desh Deepak kirjoitti: > Hi, I want to insert some data in MysqlDatabase from the

ValueError

2019-07-10 Thread Desh Deepak
Hi, I want to insert some data in MysqlDatabase from the template (HTML file). but, it shows error like this... The view Naturalgreen.views.index didn't return an HttpResponse object. It returned None instead. Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 2.0 Exception

Re: TypeError: missing 1 required positional argument (word counter app)

2019-07-10 Thread drone4four
For what it is worth, here is some of the documentation I’ve been working with. I’ve referred to official Django docs for: - File uploads: https://docs.djangoproject.com/en/2.2/topics/http/file-uploads/ - Form handling with class-based views:

TypeError: missing 1 required positional argument (word counter app)

2019-07-10 Thread drone4four
I’ve got a Python script which counts and prints the number of words in a text file. The script runs beautifully. It takes a public domain book (a text file such as Alice and Wonderland) which then counts the top 10 most used words (but which also filters out stopwords). See here for some of

Re: Can I override __new__ in Django ModelForm?

2019-07-10 Thread Jani Tiainen
Hi. You can add fields dynamically on model __init__ method and AFAIK that's best and recommended way to do it. I'm not sure is that even in Django docs. ke 10. heinäk. 2019 klo 17.44 אורי kirjoitti: > Hi, > > I have a ModelForm with Django 1.11, and I'm moving a few fields to > another

Can I override __new__ in Django ModelForm?

2019-07-10 Thread אורי
Hi, I have a ModelForm with Django 1.11, and I'm moving a few fields to another model. Calling make_migrations causes an error because these fields don't exist in the current model. I added some of the fields to the form, but one of the fields is a TranslatedField and therefore there are

Re: Redireccionamiento

2019-07-10 Thread Vijay Khemlani
No hay ningun JavaScript interceptando los links en tu pagina? On Tue, Jul 9, 2019 at 10:23 PM samuel lopez wrote: > 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

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

2019-07-10 Thread Surya Adhikari
Products On Mon, 8 Jul 2019 at 22:25, Jani Tiainen wrote: > Hi. > > There are two things wrong. > > First and most important is that you should always use {%url %} template > tag to form urls to other django urls and preferably by using named url > patterns. > > Secondly your hardcoded urls

Re: How to set timezone in Django.

2019-07-10 Thread agent smith
Am Mittwoch, 10. Juli 2019 00:00:16 UTC+13 schrieb 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

Re: Querying works on shell but not on the Django program code

2019-07-10 Thread Anil Khatri
Same for me. But it is working fine. On Wed, Jul 10, 2019 at 4:56 PM Solomon Mbak wrote: > I'm a complete novice to python and Django. > > I have tried several solutions I found on stack overflow, but I still get > the same issue. I've tried querying from shell and it works well, but not > on

Re: New project Django.....any one willing to assist in doing a project...

2019-07-10 Thread Nitin Kalmaste
Can you will teach me I am also starting django On Wed 10 Jul, 2019, 4:56 PM Joel Rotich, wrote: > Share your emailNeed someone really quickI have some basics but I > need to work with an expert to speed up. I will pay for Hrs used. > > -- > You received this message because you are

Re: Trademark search

2019-07-10 Thread Anew
The trademark search parts are probably handled by an API provided by Markify. https://www.markify.com/dev/api.html. Den tisdag 9 juli 2019 kl. 12:43:58 UTC+2 skrev Django Dojo: > > Hello, > I’m trying to build a trademark search like: >

New project Django.....any one willing to assist in doing a project...

2019-07-10 Thread Joel Rotich
Share your emailNeed someone really quickI have some basics but I need to work with an expert to speed up. I will pay for Hrs used. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Who can help setup Bazzite scripts for Knowldge base

2019-07-10 Thread Joel Rotich
https://github.com/bazzite/scritsplease assist -- 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

Re: wrong URL for view function

2019-07-10 Thread johnf
If I add the pkid to the path it will work.  I.e. path('/get_courts/47/', views.get_courts, name="reg4_getcourts') At least my function is called.  But what I'm attempting to do is pass the pkid (in this case 47) to the function in the app->view.py from the javascript function. This use to

Re: wrong URL for view function

2019-07-10 Thread Javier Rivera
You need to capture parameters in your path definition if they are part of the url. Something like path('/get_courts//', views.get_courts, name="reg4_getcourts') Best regards, Javier. O 10/07/19 ás 08:57, johnf escribiu: Hi, In my app folder I have a view.py which contains a function

Re: Django Login Secret key

2019-07-10 Thread Jani Tiainen
Oh you want to have false security. First this has nothing to do with Django and it's secret key. You can use any secret key in your case it would be user input. Also you can use any cryptography algorithm to secure your data in the database. And here is the problem - to make user experience

wrong URL for view function

2019-07-10 Thread johnf
Hi, In my app folder I have a view.py which contains a function "def get_courts(pkid)" In my app folder url.py I have :  path('/get_courts/', views.get_courts, name = 'reg4_getcourts') In my app ->template->html file I have: function countySelected(){     var countyId =

Re: Django Login Secret key

2019-07-10 Thread Sebastian Jung
I encrypt several fields in Database. Now it's possible that a Hacker get Database and settings.py. i want Maximum Security and i think when User at Login Page Input Secret Key that ist optimal. Also i want AS SaaS No Access to Data in database because Data ist high Security. -- You received

Re: Django Login Secret key

2019-07-10 Thread Jani Tiainen
Hi. What are you trying to do? In other words why do you need to replace secret key by user input at login? ke 10. heinäk. 2019 klo 8.54 Sebastian Jung kirjoitti: > Hello, > > I want in my Login Page a further field Secret Key. This Input ist > replacement dir Secret Key in settings.py. Ist