Re: Channels 2.0 close code and http response status

2019-01-23 Thread guillaume
Hey I read the spec of websocket handshake and I believe that in abrupt close connection, the server can send either a 403 or 404. I wish there were a way to send a 404. :( On Sunday, June 24, 2018 at 7:21:10 PM UTC+2, Andrew Godwin wrote: > > I'm not quite sure - WebSockets do have browser

Re: Questions about MySQL notes in Django docs

2019-01-23 Thread Tim Graham
Yes, Django supports MySQL 8. If you google "django mysql 8" the second result is https://code.djangoproject.com/ticket/29451. Based on the commits there, it looks like Django 2.0.7 and above received the fixes. On Wednesday, January 23, 2019 at 5:10:18 AM UTC-5, Carsten Fuchs wrote: > > Dear

Re: Poll Tutorial: I'm stuck I have mysql on my vps I created the database

2019-01-23 Thread Motaz Hejaze
really your question is not clear , what is the error message you got from debugger ?? On Wed, Jan 23, 2019 at 9:29 AM Anirudh Jain wrote: > First of all you can remove 'PORT'. Then the most important thing to do is > to grant your user privileges to perform operations on mysql database that >

Re: Looking for a Django Co-Founder.

2019-01-23 Thread Motaz Hejaze
If you need a Programming experience only without money funding , i can help you .. feel free to contact me at skype:m3tz-hjze or by mail trappper...@gmail.com On Wed, Jan 23, 2019 at 6:41 AM Aditya Singh wrote: > No thanks > > On Jan 23, 2019 10:10 AM, "Zack Amaral" wrote: > > @Amitesh > >

Re: Channels 2.0 close code and http response status

2019-01-23 Thread RETAIL CYBER
I can't get it to load mysql on my centos system ? On Wed, Jan 23, 2019, 9:46 AM Hey I read the spec of websocket handshake and I believe that in abrupt > close connection, the server can send either a 403 or 404. I wish there > were a way to send a 404. :( > > On Sunday, June 24, 2018 at

Re: Admin form_url breakout problem

2019-01-23 Thread Mike Dewhirst
On 24/01/2019 1:08 am, Matthew Pava wrote: It looks like your second URL is different than the first. */admin/substance/substance/1442/change/payment* */admin/substance/substance/1442/change/payment/change/* If you just want to add a slash, then add it.

Charfield variable length

2019-01-23 Thread 'Odile Lambert' via Django users
Hello I have problems with the Charfield max_length. In the source code, the possibility exists to have max_length = None but it does not pass Django check when  models.py. contains a charfield = None I can understand that there is a need for such a max_length

Re: Questions about MySQL notes in Django docs

2019-01-23 Thread Carsten Fuchs
Hi Tim, thanks for your reply! I'm sorry if I left the impression that I had not spent any time with research before posting my question! Unfortunately and mistakenly, I was referring to the 2.1 docs when I am in fact still using Django 1.11: My problem is that I still (have to) use an Oracle

RE: Admin form_url breakout problem

2019-01-23 Thread Matthew Pava
Have you tried setting APPEND_SLASH = False in your settings? -Original Message- From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Mike Dewhirst Sent: Wednesday, January 23, 2019 3:48 PM To: django-users@googlegroups.com Subject: Re: Admin form_url

Re: Overriding settings in Django when used by the models

2019-01-23 Thread Vinicius Assef
I hope you already got this solved. If not, there's a way to achieve what you are looking for. Get settings.MIN_SLUG_LENGTH from an environment variable. Use it in your settings.py: MIN_SLUG_LENGTH = os.getenv('ENV_MIN_SLUG_LENGTH') You'll need to set ENV_MIN_SLUG_LENGTH before running your

RE: Admin form_url breakout problem

2019-01-23 Thread Matthew Pava
It looks like your second URL is different than the first. /admin/substance/substance/1442/change/payment /admin/substance/substance/1442/change/payment/change/ If you just want to add a slash, then add it. /admin/substance/substance/1442/change/payment/ I’m guessing that Django is interpreting

Questions about MySQL notes in Django docs

2019-01-23 Thread Carsten Fuchs
Dear Django group, can you please help me with some questions about https://docs.djangoproject.com/en/2.1/ref/databases/#mysql-notes ? (I've been using Django with an Oracle database for years, but I'm new to MySQL.) a) Does "Django supports MySQL 5.6 and higher." cover MySQL 8? (I'm not

Re: Looking for a Django Co-Founder.

2019-01-23 Thread Vedarth Sharma
@Zack Yes, I'm free this week. You can ping me on Hangouts if you want to do a video call. On Wed, Jan 23, 2019, 8:12 AM Zack Amaral @Vedarth > > Do you have time for a video call sometime this week? > > Cheers, > > Zack > > On Tue, Jan 22, 2019 at 8:47 AM Vedarth Sharma > wrote: > >> Looks

Columna solo lectura en base de datos

2019-01-23 Thread systemsatinel
Buenas, Tengo en la base de datos una columna solo lectura, y al guardar un formulario de esa tabla en django, me da error de columna solo lectura, aunque no se nombre esa columna de solo lectura. Habría alguna manera de tener ese campo en el modelo, solo para ver datos? Un saludo -- You

Recommendations for available apps (elements of marketplace and task management)

2019-01-23 Thread Nikola Penchev
Cheers! I am a lawyer with some IT background. My team and I have created a prototype product where clients post there legal inquiries, which are outsourced by members of our team to various lawyers who we partner with. Lawyers are presented with online working area where they can log

Re: Questions about MySQL notes in Django docs

2019-01-23 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wed, Jan 23, 2019 at 11:09:32AM +0100, Carsten Fuchs wrote: > Dear Django group, > > can you please help me with some questions about > https://docs.djangoproject.com/en/2.1/ref/databases/#mysql-notes ? > (I've been using Django with an Oracle

Re: Questions about MySQL notes in Django docs

2019-01-23 Thread RETAIL CYBER
i cant even get it to load On Wed, Jan 23, 2019 at 4:09 AM Carsten Fuchs wrote: > Dear Django group, > > can you please help me with some questions about > https://docs.djangoproject.com/en/2.1/ref/databases/#mysql-notes ? > (I've been using Django with an Oracle database for years, but I'm

Installing pdftotext library on heroku

2019-01-23 Thread Joel Mathew
pdftotext library is a requirement in requirements.txt. While trying to push to heroku, I get the following error: remote: Running setup.py install for pdftotext: started remote:Running setup.py install for pdftotext: finished with status 'error' remote:Complete

RE: Django Databade

2019-01-23 Thread Matthew Pava
The database is just a separate application on your computer. It is _not_ a Python package, so you can’t use pip to install it. If your host has MySQL and you can’t install PostgreSQL on it, then you might just want to make your life easier and install MySQL on your development computer.

Re: I need help guys please

2019-01-23 Thread Nelson Varela
Say what > Say what? > -- 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

Re: Loading Django views inside template with JQuery

2019-01-23 Thread Nelson Varela
Use iframes which loads the three different views -- 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: Charfield variable length

2019-01-23 Thread Anirudh Jain
If you are sure that values entered will only be 0s and 1s then why not use IntegerField(). But if really want to use CharField() and you know that size won't be larger than 180bits then use CharField(max_lenght=25) On Thu, 24 Jan 2019, 06:23 Mike Dewhirst On 24/01/2019 9:14 am, 'Odile Lambert'

Re: Charfield variable length

2019-01-23 Thread Mike Dewhirst
On 24/01/2019 9:14 am, 'Odile Lambert' via Django users wrote: Hello I have problems with the Charfield max_length. In the source code, the possibility exists to have max_length = None but it does not pass Django check when  models.py. contains a charfield = None I can understand that

Re: Admin form_url breakout problem

2019-01-23 Thread Mike Dewhirst
On 24/01/2019 9:35 am, Matthew Pava wrote: Have you tried setting APPEND_SLASH = False in your settings? Yes. The result is ... Page not found(404) Request Method: POST Request URL: http://localhost:8000/admin/substance/substance/1442/change/payment Using the URLconf defined

how can I reference a field from one model to another model

2019-01-23 Thread carlos
Hello, I do not know if I'm asking the question correctly, but I need to call a field of one model in another model example: class ModelDad(models.Model): name = blablabla class ModelChild1(): fk(ModelDad) number = models.IntegerField() class ModelChild2(): fk(ModelDad)