Is it possible to cleanly override another app's URL namespace in Django 1.11?

2017-05-17 Thread Robert Rollins
I have a project where I want to override a subset of the URLs provided by one of the third-party apps I have installed. I did so months ago, and it works just fine. However, once I upgraded to Django 1.11, I started seeing this warning appear every time I do anything with manage.py: ?:

Re: Channels - unbalanced load for threaded workers

2017-05-17 Thread Stephen J. Butler
CPython uses a global interpreter lock, which means that only one thread per process can ever be running Python code. Where threading really helps is if your python project is mostly I/O bound (waiting on database work, network connections, etc). If it's CPU bound then you probably won't see much

Re: Channels - unbalanced load for threaded workers

2017-05-17 Thread Andrew Godwin
Hi - I am not sure what you are saying exactly. That the load only goes to some processes? Python threads are strange, the OS may not show stats correctly and I'd generally advise multiple processes instead. Andrew On Wed, May 17, 2017 at 1:53 AM, wrote: > I am trying to

Re: Django in chm format

2017-05-17 Thread James Schneider
On May 17, 2017 2:44 PM, wrote: I see think django doc in chm format help in ease of navigation I'm assuming that you are referring to Compiled HTML format, common for MS help dialogs. I don't believe there is a need expressed for this format, as the documentation is

Re: Signal limitations with custom models!

2017-05-17 Thread James Schneider
On May 17, 2017 7:59 AM, "Uzair Tariq" wrote: So i read about *Signal Limitations *in Django that comes up with user custom models and you can't use *get_user_model()* as according to this link it's clearly stated that the

Django in chm format

2017-05-17 Thread udosenakane
I see think django doc in chm format help in ease of navigation -- 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

Re: vs {{ form }}

2017-05-17 Thread James Schneider
On May 17, 2017 6:31 AM, "guettli" wrote: Hi Russell Keith-Magee, which version do you use? With or without table? {{ form }} vs {{ form }} Both of these are incorrect. You need to wrap {{ form }} in a HTML tag. If you want it in a table, use {{

Re: Django Channels error : (index):173 Disconnected from chat socket websocketbridge.js:118 WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexp

2017-05-17 Thread djangorobert
currently getting this error : WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexpected response code: 404 connect @ websocketbridge.js:118 (index):174 Disconnected from chat socket On Tuesday, May 16, 2017 at 11:31:19 PM UTC-5,

Re: Django Internship

2017-05-17 Thread Mark Phillips
A couple of comments.. 1. This list is not for job hunting. Learn how to post correctly on email lists. In this instance, you need an OT (Off Topic) at the start of your subject line as this is a list for asking technical questions about Django. More people will want to help you if you respect

Django Internship

2017-05-17 Thread Mannu Gupta
Hi everyone, I have been learning on Django for around 6+ months, Now looking for a internship based on it .If anyone know about any internship offer then please let me know. My Website :- http://theparadoxer02.github.io Github:- http://github.com/theparadoxer02 Thanks -- You received

Django dev job opportunity at California College of Arts

2017-05-17 Thread Scot Hacker
San Francisco Django developers: A great opportunity has opened up at California College of Arts for a full-time Python/Django developer: https://cca.wd5.myworkdayjobs.com/en-US/CCA/job/San-Francisco/Web-Developer_R502257 Full-stack skills desirable. This is a small but excellent team at a

Re: Selenium mess

2017-05-17 Thread Tim Graham
I haven't been able to run the selenium tests in Django's test suite without errors similar to what you describe since the geckodriver became required for testing with Firefox. I suspect this is a selenium/geckodriver issue rather than anything Django related. In the meantime, we're running

Re: vs {{ form }}

2017-05-17 Thread Melvyn Sopacua
On Tuesday 16 May 2017 08:51:49 knbk wrote: > On Tuesday, May 16, 2017 at 9:51:07 AM UTC+2, guettli wrote: > > This is a basic fact, and AFAIK this basic question is not solved > > yet. > > > > {{ form }} * vs * {{ form }} > > That question is actually answered by the documentation >

Re: Is an upgrade from 1.6 to 1.11 as complicated as migrating from 1.1 to 1.6?

2017-05-17 Thread Derek
What I found was that many third-party apps did not (yet) seem to support 1.11. So a move to 1.10 was most pragmatic for us, with the assumption that migrating to 1.11 would be straightforward in about a year or so. And, yes, work in Python 3 unless a very good reason not to. > Thanks

Re: Problem with CircularDependency Model

2017-05-17 Thread Melvyn Sopacua
On Wednesday 17 May 2017 05:57:57 Tobias Dacoir wrote: > Thanks Melvyn, > > I used promises before, when I use a foreign key for a class that is > not yet defined, however it didn't change anything for my problem. I > can make migrations, but not migrate. I am starting with a new > database from

Re: vs {{ form }}

2017-05-17 Thread Melvyn Sopacua
On Tuesday 16 May 2017 12:05:59 Jani Tiainen wrote: > "rightway" to do things is to keep rendering (html) in the place where > it belongs to - in templates. That's the main functionality of > templates. First, there's no single place to render HTML. Template rendering deals very poorly with

Re: vs {{ form }}

2017-05-17 Thread Melvyn Sopacua
On Tuesday 16 May 2017 00:51:07 guettli wrote: > Am Mittwoch, 10. Mai 2017 10:56:56 UTC+2 schrieb Melvyn Sopacua: > > On Tuesday 09 May 2017 14:08:44 Jani Tiainen wrote: > > > And to use bootstrap you don't need any special package, you can > > > do it > > > > > > without it just fine. > > > >

Signal limitations with custom models!

2017-05-17 Thread Uzair Tariq
So i read about *Signal Limitations *in Django that comes up with user custom models and you can't use *get_user_model()* as according to this link it's clearly stated that the reason for it is because the module is not completely loaded at this

Selenium mess

2017-05-17 Thread Antonis Christofides
Hi, I am the author of django-selenium-clean . I'm happy I wrote extensive unit tests for it, which has made it much easier to see what's up in various Python/Selenium/Browser combinations. But I have some trouble and I was wondering whether

Re: vs {{ form }}

2017-05-17 Thread guettli
Hi Russell Keith-Magee, which version do you use? With or without table? {{ form }} vs {{ form }} Regards, Thomas Am Dienstag, 16. Mai 2017 17:52:19 UTC+2 schrieb Russell Keith-Magee: > > > On 16 May 2017, 12:51 AM -0700, guettli >, wrote: > > > I know

Re: Problem with CircularDependency Model

2017-05-17 Thread Tobias Dacoir
I am not sure if this is solution but instead of running makemigrations first, I ran migrate --run-syncdb. That got me past this error. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Database Routing

2017-05-17 Thread Joe
I am in the process of setting up a django server. I am trying to connect our 4 legacy DBs to her. I have created a separate app for each DB, added the app_label to the meta of the model and wrote a read only router for each db. This was working fine until i got to the last one. The routing is

Re: Problem with CircularDependency Model

2017-05-17 Thread Tobias Dacoir
Thanks Melvyn, I used promises before, when I use a foreign key for a class that is not yet defined, however it didn't change anything for my problem. I can make migrations, but not migrate. I am starting with a new database from scratch. self.ensure_not_cyclic(target, lambda x:

Re: Email conformation problem

2017-05-17 Thread m712 - Developer
Do not respond to everyone with the same question. We see it once you respond to somebody (mail is delivered to every subscriber of this group). I already gave you a suggestion. It should be pretty easy to search "what is a PTR record" and "how to set PTR record on $server_host" on your favorite

Re: Email conformation problem

2017-05-17 Thread James Schneider
On May 16, 2017 11:24 PM, "Ismail Sarenkapic" wrote: I already fixed the problem tnx. but i still dont know why are my emails treated like potential fishing content, can you help me with that? There are potentially dozens of reasons for this. Some may be Django-related,

Re: Email conformation problem

2017-05-17 Thread Constantine Covtushenko
Hi Ismail, Thank you for your suggestion. Will get it into consideration for future responds. Have a nice day to all. On Wed, May 17, 2017 at 10:55 AM, m712 - Developer < comeon@getbackinthe.kitchen> wrote: > That's a pretty rude way to reply for someone who is asking questions. > Many major

Re: Email conformation problem

2017-05-17 Thread Ismail Sarenkapic
Ok, so how do I solve this problem of fishing content in my mails? On Wednesday, May 17, 2017 at 9:56:56 AM UTC+2, m712 - Developer wrote: > > That's a pretty rude way to reply for someone who is asking questions. > Many major email providers mark emails from servers without a PTR record to >

Re: Email conformation problem

2017-05-17 Thread Ismail Sarenkapic
Ok, so how do I solve this problem of fishing content in my mails? On Wednesday, May 17, 2017 at 9:54:15 AM UTC+2, Andréas Kühne wrote: > > Hi, > > I think Constantine is probably correct. It's not a specific django > problem if your emails are being flagged as fishing emails. The problem is >

Re: what on earth is this and how do I access 2 particular values to 2 keys

2017-05-17 Thread MikeKJ
Thanks guys, yes it is SOAP and thank you for the pointer to suds-jurko library, making progress now -- 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

Re: Email conformation problem

2017-05-17 Thread m712 - Developer
That's a pretty rude way to reply for someone who is asking questions. Many major email providers mark emails from servers without a PTR record to their domains as "spam". On May 17, 2017 9:52 AM, Ismail Sarenkapic wrote:lol, It is Django related question and can be solved

Re: Email conformation problem

2017-05-17 Thread Andréas Kühne
Hi, I think Constantine is probably correct. It's not a specific django problem if your emails are being flagged as fishing emails. The problem is more likely how the emails are being sent AFTER they are sent from django. Django only creates an email based on the properties you use - sender,

Re: Email conformation problem

2017-05-17 Thread Ismail Sarenkapic
lol, It is Django related question and can be solved with some of third party libraries like allauth, scoialauth etc. Please don't replay to the posts when you don't know what it is about.tnx again On Wednesday, May 17, 2017 at 8:41:05 AM UTC+2, Constantine Covtushenko wrote: > > It is not a

Re: Email conformation problem

2017-05-17 Thread Constantine Covtushenko
It is not a Django related question, sorry. I can just suggest to look in 'SPAM' filters in you mailing agent. On Wed, May 17, 2017 at 9:24 AM, Ismail Sarenkapic wrote: > I already fixed the problem tnx. > but i still dont know why are my emails treated like potential

Re: Email conformation problem

2017-05-17 Thread Ismail Sarenkapic
I already fixed the problem tnx. but i still dont know why are my emails treated like potential fishing content, can you help me with that? On Wednesday, May 17, 2017 at 8:21:22 AM UTC+2, Constantine Covtushenko wrote: > > Hi, Ismail > > Did you try: > > *instance.user.email*? > > I hope it

Re: Email conformation problem

2017-05-17 Thread Constantine Covtushenko
Hi, Ismail Did you try: *instance.user.email*? I hope it should be what you need. Regards, Constantine C. On Mon, May 15, 2017 at 3:47 PM, Ismail Sarenkapic wrote: > from django.conf import settings > from django.contrib.auth.models import ( > BaseUserManager,

Re: Matching query does not exist after a post_data signal, but in fact does exist when visiting the url sent by the query

2017-05-17 Thread Constantine Covtushenko
Hi, François-Xavier I believe that the reason of that is a transaction that is not committed yet when your code reaches 'post_save' listener. And when you use 'requests' library there is nothing in the DB yet. And I am just curios why there is a need of saving 'admin view' in the DB? Regards,