Re: Admin CSS Not Working in Opera or UC Browser

2018-07-20 Thread Melvyn Sopacua
On maandag 16 juli 2018 02:54:32 CEST Kayode Oladipo wrote: > Attached is the settings file from my project. Your settings file is not going to help. You're doing to have to dig into the browser's developer tools. If you don't know how to do that, put the project online somewhere so we can have

RE: python manage.py inspectdb makes all fields with a default valueblank=True, null=True

2018-07-20 Thread Kimball Leavitt
Good to know, I’ll keep that in mind. Yes, I was mistaken. And I guess I missed that line in the docs. Thanks! From: Tim Graham Sent: Friday, July 20, 2018 4:54 PM To: Django users Subject: Re: python manage.py inspectdb makes all fields with a default valueblank=True, null=True For future ref

Re: python manage.py inspectdb makes all fields with a default value blank=True, null=True

2018-07-20 Thread Tim Graham
For future reference, creating a bug report is sufficient. No need to post to django-developers. I'll post my analysis from the ticket below. https://code.djangoproject.com/ticket/29583#comment:1 I think you made a mistake in your analysis. In the FieldInfo initialization, line[6] (not inf

Channels/Redis fault tolerance with Twemproxy?

2018-07-20 Thread Filbert
Going to have 10 or more EC2 instances running Channels 2.0. I really don't want to add the complexity of Redis Cluster or Redis sentinel. Is a decent fault tolerant solution to implement Twemproxy, instead. I don't care about data loss if an instance crashes, but I do care that the applicat

Re: python manage.py inspectdb makes all fields with a default value blank=True, null=True

2018-07-20 Thread Kimball Leavitt
Will do. Thanks. On Friday, July 20, 2018 at 1:06:45 PM UTC-6, Jason wrote: > > Nice edge case you found. I would suggest raising this to the > django-developer > s to get core > framework dev attention or make a bug report on the trac

Re: python manage.py inspectdb makes all fields with a default value blank=True, null=True

2018-07-20 Thread Jason
Nice edge case you found. I would suggest raising this to the django-developer s to get core framework dev attention or make a bug report on the tracker. -- You received this message because you are subscribed to the Google Groups "Dj

python manage.py inspectdb makes all fields with a default value blank=True, null=True

2018-07-20 Thread Kimball Leavitt
I'm not sure if this is a bug, feature request, or something else, so I thought I'd start here. Summary: *python manage.py inspectdb* makes all fields with a default value *blank=True, null=True* I'm using: - Ubuntu 16.04 - Python 3.7.0 - Django 2.0.4 - Mariadb 10.2.16 Before

Re: django extensions and thems such as worpress or other cms

2018-07-20 Thread mottaz hejaze
you can do it in 2 ways : 1- you can use django-cms .. a content managment based on django https://www.django-cms.org/en/ 2 - you can use django cookiecutter a ready for production complete django installation https://github.com/pydanny/cookiecutter-django On Fri, 20 Jul 2018, 19:50 Mohsen Pah

django extensions and thems such as worpress or other cms

2018-07-20 Thread Mohsen Pahlevanzadeh
Hello, I'm migrating to django from another framework, Really python is strong. Can I do upload a site rapidly such as wordpress? I need to use extensions and them? Is it possible in django? --mohsen -- You received this message because you are subscribed to the Google Groups "Django users"

Re: custom command

2018-07-20 Thread Mikhailo Keda
check this example - https://bitbucket.org/voron-raven/maps/src/master/core/management/commands/import.py пʼятниця, 20 липня 2018 р. 14:37:42 UTC+3 користувач dp Audiovisual написав: > > Hello, I need to create a "custom command" that uploads all the Json files > of a folder within the project

Re: How to create dynamic form field? Django 2.0

2018-07-20 Thread alex eckert
There is no simple solution to this problem. I'm going to try and break this explanation down into simpler parts for you, but please remember this is pretty hard stuff if you're not familiar with Django. I would second @Melvyn's advice, but if you really need to get this done you need to be pat

Re: fb login issue

2018-07-20 Thread Christian Ledermann
The version of social auth you are using is ancient, and most probably not work anymore. try: > social-auth-core==1.7.0 > > social-auth-app-django==1.2.0 > > -- Best Regards, Christian Ledermann Newark-on-Trent - UK https://uk.linkedin.com/in/christianledermann https://github.com/cleder/ <

Re: API for writing a new database backend

2018-07-20 Thread Derek
If you are looking for a spec for writing an API, you could do worse than: https://github.com/OAI/OpenAPI-Specification If you are looking for a Django tool for creating the API, then: http://www.django-rest-framework.org/ On Wednesday, 18 July 2018 23:32:09 UTC+2, Nuno wrote: > > Hi, > I'm sta

Re: Django with Celery

2018-07-20 Thread Julio Biason
Hi Satyam, Well, Celery is used for background tasks, like running requests to other services out of the response loop and such. Your question is confusing 'cause forms are used to validate user input and, well, there is no user in a background task. What you can do is have a normal form attached

Re: custom command

2018-07-20 Thread Julio Biason
Hi Dp, Basically, you'll have to: 1. Add the command; the documentation explains quite well how to make a new command: https://docs.djangoproject.com/en/2.0/howto/custom-management-commands/ 2. In that command, you'll have to read a directory. That's pure python and you could use something like

Django with Celery

2018-07-20 Thread Satyam Mishra
Hello, i want to integrate my django application with the celery ,i follow the official documentation and some other blogs of celery but i'm not able to find out that how to connect it with my django application for eg. i have a user registration form then how i assign it to celery Thanks --

custom command

2018-07-20 Thread dp Audiovisual
Hello, I need to create a "custom command" that uploads all the Json files of a folder within the project to the postgres database. Help, I'm learning. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rece

Re: Good up-to-date Django report builder addons

2018-07-20 Thread Gerald Brown
Thanks for your info.  Will check it out. On Friday, 20 July, 2018 07:02 PM, Jason wrote: Any time I have the question "Is there something in Django that will do this?", my first stop is https://djangopackages.org/ For example, their listings for reporting

Re: fb login issue

2018-07-20 Thread Jason
Somewhere in your code before signing in, you're expecting an integer value in a variable, but it is in fact None. Adding None and an int will get that error. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: Good up-to-date Django report builder addons

2018-07-20 Thread Jason
Any time I have the question "Is there something in Django that will do this?", my first stop is https://djangopackages.org/ For example, their listings for reporting have a number of options and you can filter by python3 compatibility. -- You r

Re: fb login issue

2018-07-20 Thread Ashok Ramesh
Hi Mikhailo, I'm using *python-social-auth==0.2.21, *python 2.7 and django1.11 On Fri, Jul 20, 2018 at 4:06 PM Mikhailo Keda wrote: > show full traceback, what packet are you using for fb authentication? > what version? What version of fb api are you using? > > -- > You received this message be

Good up-to-date Django report builder addons

2018-07-20 Thread Gerald Brown
Does anyone know of any *GOOD, UP-TO-DATE* Django report builder add-ons? I was just working with Appy and discovered it was built with Python 2.? and I am using Python3.6.5. so I was getting a ton of errors. Even though the last release in Pypi was in April 2018 they are still using Python 2

Re: fb login issue

2018-07-20 Thread Mikhailo Keda
show full traceback, what packet are you using for fb authentication? what version? What version of fb api are you using? -- 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

fb login issue

2018-07-20 Thread Ashok Ramesh
Hi all, I am signin using facebook authentication in local using SSL for https. i'm getting the below error. *TypeError at /complete/facebook/* *unsupported operand type(s) for +: 'NoneType' and 'int'* -- You received this message because you are subscribed to the Google Groups "Django users