Re: Hacking attempts

2019-01-03 Thread Ansh Srivastava
Yes! You can do that. You've to just hop over to the wsgi.py setting part. [image: Mailtrack] Sender notified by Mailtrack

Re: Loop over Django objects and Bootstrap cards

2019-01-03 Thread shiva kumar
I think use inline div elements in place of block. Block elements makes u to start elements in next line. On Thu 3 Jan, 2019 7:41 pm valentin jungbluth I used UploadField so I just have to use > {{ object.fieldname.url }} > > and it works. > > But my question is : How I can gather all documents

Hacking attempts

2019-01-03 Thread Mike Dewhirst
I'm no expert and I suspect things are working as designed but I'm getting multiple admin emails from a production site reporting attempts to access wsgi.py So my question is: Can I change the name of wsgi.py so the hackers get 401 errors and maybe go away? The emails have subject lines

Filter by sum of filtered related objects?

2019-01-03 Thread Dustin Wyatt
Given the following models: class Transaction(models.Model): amount = models.IntegerField() date = models.DateField() terms = models.ForeignKey('Terms') class Terms(models.Model): name = models.CharField(max_length=100) timezone = models.CharField(max_length=50) I need to annotate

Re: Best way to submit application cmd, then download a resulting file?

2019-01-03 Thread PASCUAL Eric
Hi Chris, The problem you describe does not require Django at all to be solved. WRT process parameter input, what you need here is a simple Web based UI with a basic form. Of course Django can do it, but if you don't need features such as the ORM, admin... you can implement it with a couple

Re: Deploying Django multi servers, 1 DB server

2019-01-03 Thread Christian Ledermann
You will have to split migrations from code changes. The migrated database will have to run with both old and new code. You may have to split one migration into several to achieve this On Thu, 3 Jan 2019 at 15:28, Peter van der Does wrote: > We currently have one app server, so deployment with

Deploying Django multi servers, 1 DB server

2019-01-03 Thread Peter van der Does
We currently have one app server, so deployment with migrations is easy, but we're expanding to multiple app servers and one DB server. How do people handle migrations? I understand you run migrations on one server only. But how do you inform the other servers that migrations has finished and

Re: Are distance lookups available for MySQL or not?

2019-01-03 Thread Jason
nice job in finding the cause and +1 for posting the compatibility table link here for future search reference. -- 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

Re: Regarding:- Mobile App With Django Rest API

2019-01-03 Thread Pravin Yadav
please guide me. It will be great. Thanks. On Thu, Jan 3, 2019 at 8:28 PM Pravin Yadav wrote: > I haven't any experience with rest API. > > Thanks for replying. > > > > On Thu, Jan 3, 2019 at 8:26 PM Nebojsa Hajdukovic < > nebojsa.zero...@gmail.com> wrote: > >> Do you have any experience with

Re: Regarding:- Mobile App With Django Rest API

2019-01-03 Thread Pravin Yadav
I haven't any experience with rest API. Thanks for replying. On Thu, Jan 3, 2019 at 8:26 PM Nebojsa Hajdukovic wrote: > Do you have any experience with rest API? > > чет, 3. јан 2019. у 15:55 Pravin Yadav је написао/ла: > >> Hello Friends, >> >> I have created the website in Python + Django

Re: Show locations on maps on realtime sent from ios app django as a backend.

2019-01-03 Thread Jani Tiainen
Hi. Where do you want to display this location information? Achyut Pandey kirjoitti to 3. tammik. 2019 klo 16.36: > What are the possible ways to show the locations data sent from ios app to > django backend on maps. Please anyone respond i really need your help guys . > > -- > You received

Re: Regarding:- Mobile App With Django Rest API

2019-01-03 Thread Nebojsa Hajdukovic
Do you have any experience with rest API? чет, 3. јан 2019. у 15:55 Pravin Yadav је написао/ла: > Hello Friends, > > I have created the website in Python + Django and also website has been > live > *Live Url:-* *http://tripsanditineraries.com > .* > > I want

Regarding:- Mobile App With Django Rest API

2019-01-03 Thread Pravin Yadav
Hello Friends, I have created the website in Python + Django and also website has been live *Live Url:-* *http://tripsanditineraries.com .* I want to create the* "Mobile APP"* also. Kindly advise how will i implement. Thanks and Regards, Pravin Kumar Yadav

Show locations on maps on realtime sent from ios app django as a backend.

2019-01-03 Thread Achyut Pandey
What are the possible ways to show the locations data sent from ios app to django backend on maps. Please anyone respond i really need your help guys . -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Loop over Django objects and Bootstrap cards

2019-01-03 Thread valentin jungbluth
I used UploadField so I just have to use {{ object.fieldname.url }} and it works. But my question is : How I can gather all documents according to one publication in one card ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Django ORM queryset substring on a column

2019-01-03 Thread BIJAL MANIAR
Hello, Consider below column in mysql table Employee. I need to write django orm query for below mysql query. emp_number 4-DEF-A111 3-MNO-333 2-DEF-222 1-ABC-111 Mysql query which splits by '-' and matches against last index. SELECT * from Employee WHERE substring_index(emp_number, '-', -1) =

Re: Are distance lookups available for MySQL or not?

2019-01-03 Thread Clara Daia
Shame on me, there is a table for that in the docs. https://docs.djangoproject.com/en/2.1/ref/contrib/gis/db-api/#spatial-lookup-compatibility Em qui, 3 de jan de 2019 às 10:38, Clara Daia escreveu: > Hello, Jason > > I appreciate your help, and I tried running the test with a MySQL > container

Re: Are distance lookups available for MySQL or not?

2019-01-03 Thread Clara Daia
Hello, Jason I appreciate your help, and I tried running the test with a MySQL container but got the same error. The MySQL spatial reference does not have a'dwithin' entry or similar either. I changed my query to

Re: Installing and using django registration – backends

2019-01-03 Thread Yuval Bachrach
For the suggested link I get the following error message: "ModuleNotFoundError: No module named 'registration'" I think registration is the old name used at version 2.3. Instead of following the pdf I follow https://django-registration.readthedocs.io/en/3.0/ (pdf is for an older version 2.3)

: (admin.E108) The value of 'list_display[0]' refers to 'title', which is not a callable, an attribute of 'PostAdmin', or an attribute or method on 'blog.Post'.

2019-01-03 Thread Daniel Roseman
Don't post pictures of code. Your Post model doesn't have any fields in it, just the two Managers. We can't see what model the fields are defined in, because your screenshot cuts that off. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Installing and using django registration – backends

2019-01-03 Thread Rahul Verma
Can you try like ths urlpatterns = [ # Other URL patterns ... url(r'^accounts/', include('registration.backends.activation.urls')), # More URL patterns ... ] By the way, this is the documentation of Django Registration ,Hopefully it may help you.

Native info

2019-01-03 Thread rbrown107074
Hi all -- 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