Re: I get errors when I try deploying my app on gae

2019-08-07 Thread Kasper Laudrup
Hi Solomon, On 06/08/2019 09.27, Solomon Mbak wrote: I have given myself many hours to try and solve this one, all to no avail. I really need some help. My app works perfectly on development environment. When I deploy on Google App Engine, I get series of syntax error. It would be extreme

Re: can any one help me in solving the following error

2019-08-07 Thread goitom negash
thanx sir!! On Tuesday, August 6, 2019 at 7:57:44 PM UTC-7, Mike Dewhirst wrote: > > On 6/08/2019 6:19 pm, goitom negash wrote: > > when i want to work on a new django project i have to install it again > > . if not it gives me an error "no module called django" > > If you are working with

fields.E304 error

2019-08-07 Thread N. Manohar
In one of my system while I'm running 'python manage.py runserver' I'm getting fields.E304 error and in another system its working fine. Can anyone help me with this. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gro

Re: I get errors when I try deploying my app on gae

2019-08-07 Thread Solomon Mbak
That was actually it. I got it solved and it's working fine. Thanks a lot. On Wed, Aug 7, 2019, 8:33 AM Kasper Laudrup wrote: > Hi Solomon, > > On 06/08/2019 09.27, Solomon Mbak wrote: > > I have given myself many hours to try and solve this one, all to no > > avail. I really need some help. > >

Django GAE deployment DATABASE setting

2019-08-07 Thread Solomon Mbak
Hi guys. I've spent a few hours on this one, all to no avail. I'm trying to reply my Django App on Google App Engine, but I get errors on the database connection. I tried configurations as shown below, but it still isn't connecting. I need help please; DATABASES = { 'default': { 'ENGINE': '

how to store API images in HDFS using Django

2019-08-07 Thread Saurabh Dubey
I created one API for image upload in Django. I want to stored that image into HDFS(hadoop distribution file system) is it posible. can we connect hadoop with hdfs. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: can any one help me in solving the following error

2019-08-07 Thread Mike Dewhirst
Provided you are using virtualenv, that sounds right. It us the same for everyone starting a new project. Connected by Motorola goitom negash wrote: >when i want to work on a new django project i have to install it again . if >not it gives me an error "no module called django" > >-- >You

Re: tinymce no module exists

2019-08-07 Thread Mike Dewhirst
If you pip install *outside* a virtualenv it gets installed in the system python. If yours is purely a development machine you should pip uninstall django and anything else you see in the system python's site-packages directory to clean things up. Virtualenv theory is to only install stuff in th

redirects, in django how to set one up correctly

2019-08-07 Thread Kean
Hello, Im trying to create a redirect where after the user has created a login, and saved they are redirected to a sub.url i.e. Business registers, at Business register.url and is redirected to business register/business admin.url my views.py def Business(request): if request.method == "POST"

Django 2.2 mongoengine query pagination performance

2019-08-07 Thread Felix Tillyard
Hi, We are facing an issue while upgrading from Django 2.1.10 to 2.2.4. We are using mongoengine (http://mongoengine.org/) to pull some documents from a Mongo database. Following the upgrade performance of this is significantly worse. We ran some profiling using pyspy (https://github.com/benfr

Re: Tutorial Problems...

2019-08-07 Thread Emil Lilja
Hey, Thanks for your reply! So yeah i did the tutorial from scratch again and noticed like you were aiming at that the server was actually running. Even though the tutorial clearly states that you should get the following output when running *runserver, *I only seem to get this after i termin

Re: Tutorial Problems...

2019-08-07 Thread Mike Dewhirst
Two things ... Look at the error near the bottom of the traceback and notice it says there is a syntax faux pas on line 21 of one of your files. If you find and fix that python will advance to your next error - if any. And runserver is asking you to Ctrl-c and do python manage.py migrate --se

Re: Enter valid date error

2019-08-07 Thread ANi
Thanks for your help! Sipum, I have tried many possibilities and it is some how fixed and I actually don't know why, like why it is broken. but if you look into the class DateInput provided by Django: class DateInput(DateTimeBaseInput): format_key = 'DATE_INPUT_FORMATS' template_name =

Access a form method from generic.UpdateView

2019-08-07 Thread אורי
Django users, I have a view which is a generic.UpdateView, and I need to access a form method - get_hidden_fields(). How do I access it? I currently used self.form_class().get_hidden_fields() but I'm not sure if this is correct. I think it creates a new instance of the form and I want to use the