Why are foreign keys rewritten when adding related_name?

2019-02-28 Thread Hanne Moa
I added "related_name" to an exiting ForeignKey and checked with "django-admin sqlmigrate" what would be done. It seems that the foreign key constraint is dropped, then the exact same constraint is added back. Why? Example: If we have the classes: class Wall(models.Model): .. class

Re: Tutorials Needed

2019-02-28 Thread Pradeep Singh
bro i have django & python videos + materials On Fri, 1 Mar 2019 at 04:04, Motaz Hejaze wrote: > Why dont you google whatever you want ؟؟؟!!! > > On Thu, 28 Feb 2019, 22:49 Lutalo Bbosa joseph, wrote: > >> try introduction to python by sentdex on youtube >> >> On Thu, Feb 28, 2019 at 9:54 PM

Re: 'URLPattern' Object is not a mapping

2019-02-28 Thread Tina Upadhyay
This is working fine on my local machine but on server it is not.Can anyone suggest that what can i do to fix this?? On Fri, Mar 1, 2019 at 12:22 AM wrote: > umm > > > On Tuesday, February 26, 2019 at 6:06:20 PM UTC+5:45, Tina Upadhyay wrote: >> >> Getting this error and the urls.py of my

Re: Problems with first program

2019-02-28 Thread bob gailer
On 2/28/2019 6:08 PM, Edvani Pascoal wrote: hey guys I'm beginner on django I never worked with this framework before and then I've problems to started polls app this is the error: deleting most of the traceback since in this case it is not relevant.   File

Re: ANN: django-yamlconf 1.0.0

2019-02-28 Thread Michael Rohan
Hi Folks, Have published to documentation on this module to readthedocs; https://django-yamlconf.readthedocs.io/en/latest/ Take care, Michael. On Mon, Aug 13, 2018 at 5:39 PM Michael Rohan wrote: > Hi Folks, > > > > The package Django-yamlconf 1.0.0 has been uploaded to pypi. There are a >

Needs some debugging codes

2019-02-28 Thread gauravsrivastava2k17
Can anyone provide me some codes examples that i can debug. Basically I am new to gsoc so want to know how to contribute?Thanks in advance -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Problems with first program

2019-02-28 Thread Edvani Pascoal
hey guys I'm beginner on django I never worked with this framework before and then I've problems to started polls app this is the error: (my_env) root@ubuntu:~/django-test/djangoproject# python manage.py runserver 192.168.184.202:8000 Unhandled exception in thread started by .wrapper at

"onchange" event with "autocomplete_fields"

2019-02-28 Thread alaxa via Django users
hello, Into my admin site I have some Selects (from foreignKeys) for which I'm able to add a "change" event so that when I choose an option from the Select's dropdown somethings happens to the other fields via an AJAX request. I'm doing this using djquery, directly into the

Re: How to override the ModelAdmin "change" form ?

2019-02-28 Thread Mike Dewhirst
On 28/02/2019 9:46 pm, karim.at...@gmail.com wrote: Hi, I'm currently struggling with a custom ModelAdmin. Karim I haven't tried to fully understand your use case. However, this is what I think your

Re: Tutorials Needed

2019-02-28 Thread Motaz Hejaze
Why dont you google whatever you want ؟؟؟!!! On Thu, 28 Feb 2019, 22:49 Lutalo Bbosa joseph, wrote: > try introduction to python by sentdex on youtube > > On Thu, Feb 28, 2019 at 9:54 PM Madhav Rajmohan > wrote: > >> Friends, >> I am Madhav Rajmohan currently pursuing my Studies

Re: Extract LineString in Geodjango

2019-02-28 Thread Jason
https://docs.djangoproject.com/en/2.1/ref/contrib/gis/db-api/#spatial-lookups has the geodjango lookups. Perhaps there is one there that fits your needs? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Django 1.11: AttributeError: 'module' object has no attribute 'setup_environ'

2019-02-28 Thread Chi Shiek
Didn't work in production...same error...suggestions welcome On Friday, 1 March 2019 06:41:55 UTC+11, Chi Shiek wrote: > > This is related to a bug I raised against app engine while tying to > migrate from django 1.5 to 1.11. > > The issue is I have an app running on app engine using django 1.5.

Re: Django 1.11: AttributeError: 'module' object has no attribute 'setup_environ'

2019-02-28 Thread Chi Shiek
Managed to fix it by loading Django as a separate library... These are the things I had to do... Used following link to create a libs directory and install django in it (via pip - instructions on the page) - also followed the instructions on this page for creating a appengine_config.py

Re: Tutorials Needed

2019-02-28 Thread Lutalo Bbosa joseph
try introduction to python by sentdex on youtube On Thu, Feb 28, 2019 at 9:54 PM Madhav Rajmohan wrote: > Friends, > I am Madhav Rajmohan currently pursuing my Studies in > Computer Science, I Need some good beginners* Tutorial for Django.*And at > the same time some tutorials* for

Django 1.11: AttributeError: 'module' object has no attribute 'setup_environ'

2019-02-28 Thread Chi Shiek
This is related to a bug I raised against app engine while tying to migrate from django 1.5 to 1.11. The issue is I have an app running on app engine using django 1.5. Recently I was making a number of major updates to the app and decided to convert to django 1.11 as part of that update.

Extract LineString in Geodjango

2019-02-28 Thread AsAl
Hi, I am using Geodjango at work. Could you please to confirm me if in Geodjango there is a function such as ST_Line_Substring in Postgis. Best regards -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Learn Django Interactive Charts

2019-02-28 Thread Jeeva Bharathy
Hi Friends, I am new to Djanho Python. I like to learn how to create interactive charts using d3.js, reactive application like dashboard. I dont know how and where to start my application. Can anyone direct me in right direction. -- You received this message because you are subscribed to

Tutorials Needed

2019-02-28 Thread Madhav Rajmohan
Friends, I am Madhav Rajmohan currently pursuing my Studies in Computer Science, I Need some good beginners* Tutorial for Django.*And at the same time some tutorials* for advanced python* -- You received this message because you are subscribed to the Google Groups "Django users"

Re: 'URLPattern' Object is not a mapping

2019-02-28 Thread bikashsunabhatrai
umm On Tuesday, February 26, 2019 at 6:06:20 PM UTC+5:45, Tina Upadhyay wrote: > > Getting this error and the urls.py of my model is as shown below: > > > from django.conf.urls import url > from new import views > app_name = 'new' > > > urlpatterns = [ > url(r'^export/csv/$',

Re: How to override the ModelAdmin "change" form ?

2019-02-28 Thread Nelson Varela
You maybe want a model admin view where you can send the user to and collect the data you want to comare and show warnings -- 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

Re: Looking for Developer, who can develop location based tracking sales force

2019-02-28 Thread Motaz Hejaze
Lol , those poor sales agents will not rest again .. You need a mobile app which will be installed on agents smart phones , the app will grunt gps access during installations .. The app will run a code that will send the location every 10 seconds to the backend api which will save it in database

Re: What's the difference between using mariadb as database and using mysql?

2019-02-28 Thread K Porter
Perhaps the biggest difference is ownership. Mysql is owned by Oracle and, though free, is not considered open source. It was acquired by Oracle in 2010. Its creators felt there was a conflict of interest so they left to start MariaDB. MariaDB is owned by the MariaDB Foundation and is considered

Looking for Developer, who can develop location based tracking sales force

2019-02-28 Thread vaiddyy viswanath
Hi Guys, I am vaidy, new to this group and I am techies, who can develop Location based tracking system to track sales force and integrate the data in the HRMS Module. If any body out there, who can do this, pleas let me know Thanks in advance. Regards, Vaidy. Note: My apology, if this is

Why is redis multi-node not compatible with channels' websocket module?

2019-02-28 Thread qianzhongdao
When I start multiple redis nodes, django channels will report an error, indicating that no extra slots are allocated. -- 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

How to override the ModelAdmin "change" form ?

2019-02-28 Thread karim . atiki
Hi, I'm currently struggling with a custom ModelAdmin. Considering the following model: # Bloc fonctionnel class Assembly(Item): product = models.ForeignKey(to='ProductFamily', on_delete=models.CASCADE , null=True, verbose_name=_('Famille Produit')) functions =

What's the difference between using mariadb as database and using mysql?

2019-02-28 Thread x w
I'm using a Linux distribution called manjaro and mysql has been replaced with mariabd in the official repository. When I use maridb as database, what is the difference with mysql? Is there something special that I should pay attention to? -- You received this message because you are

Re: DjangoCongress JP 2019 will be held in May. Waiting for your participation and talk!

2019-02-28 Thread Abdul Hayatu
Hello Your mail is well received and i am having interest to be part of the speakers, but i can't because i am not close to the event centre. Best regards Abdul hayatu On Mon, Feb 25, 2019, 12:11 AM Hiroki Kiyohara wrote: > Hello. > > I'm Hiroki (@hirokiky ),

Re: 'URLPattern' Object is not a mapping

2019-02-28 Thread Tina Upadhyay
yes i have at root project levelwhich has the below mentioned code: from django.conf.urls import url, include from django.contrib import admin from new.views import Systemsoftware admin.sites.AdminSite.site_header = 'SW Clearing Tool' admin.sites.AdminSite.site_title = 'SW Clearing Tool'