Re: Admin form_url breakout problem

2019-02-01 Thread Mike Dewhirst
I think I know. Don't waste time on this. I'll report back later. Mike On 2/02/2019 3:27 pm, Mike Dewhirst wrote: I thought it was fixed but not so. It works perfectly *only* if the dev server reloads after all the work and prior to clicking the link on the success.html template back to the

Re: Admin form_url breakout problem

2019-02-01 Thread Mike Dewhirst
I thought it was fixed but not so. It works perfectly *only* if the dev server reloads after all the work and prior to clicking the link on the success.html template back to the mixture (the substance with ingredients). I tried a workaround of making the link point to the substances list page

Use of asyncio

2019-02-01 Thread shiva kumar
Can anyone explain to which applications asyncio used for. -- 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

Re: Model's verbose_name not getting used as field label when specifying a field type in ModelForm

2019-02-01 Thread Michael Corey
Yup, that works! Thank you! On Friday, February 1, 2019 at 2:17:23 PM UTC-8, Tim Graham wrote: > > When you add a form field like that, it removes inheritance of field > attributes like verbose_name from the model. > > Instead, you could override Form.__init__() and set the widget similar to >

Re: Model's verbose_name not getting used as field label when specifying a field type in ModelForm

2019-02-01 Thread Tim Graham
When you add a form field like that, it removes inheritance of field attributes like verbose_name from the model. Instead, you could override Form.__init__() and set the widget similar to what's described at https://docs.djangoproject.com/en/stable/ref/forms/widgets/ "Or if the field isn’t

Re: Looking for a Django Co-Founder.

2019-02-01 Thread Lucas G. Navarro
Thanks for the spam ;) El vie., 1 feb. 2019 6:48 PM, Frank john thompson escribió: > Hello Zack > > Am interested please give me the details let's get started here is my > whatsapp number (+2348123120639) thanks > > Frank. > > On Fri, Feb 1, 2019, 8:31 PM Alison Mukoma >> Hello Zack, >>

Model's verbose_name not getting used as field label when specifying a field type in ModelForm

2019-02-01 Thread Michael Corey
I'm having trouble getting the verbose_name attribute of a model field to show up when rendering a ModelForm. instead, the label uses the pretty version of the field name, not the verbose_name. This occurs any time I specify a field type, and works properly (shows the verbose_name) if I don't

Re: Looking for a Django Co-Founder.

2019-02-01 Thread Frank john thompson
Hello Zack Am interested please give me the details let's get started here is my whatsapp number (+2348123120639) thanks Frank. On Fri, Feb 1, 2019, 8:31 PM Alison Mukoma Hello Zack, > Perhaps we could all meet using zoom which is also free and effective. > we may only need a meeting room/link

DJANGO

2019-02-01 Thread Jihene
hiii , how to connect django to an existing database?? -- 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

Not finding site-packages/django...

2019-02-01 Thread helm1
I'm using django 2.1.5 and am trying to follow the poll application tutorial...however, django-admin does not workbut the path that is listed here https://docs.djangoproject.com/en/2.1/faq/troubleshooting/#troubleshooting-django-admin does not seem to exist. I have found both

Re: Migration question: why causes this change a non-empty migration?

2019-02-01 Thread Carsten Fuchs
Am 01.02.19 um 17:39 schrieb Tim Graham: > I'm reluctant to continue investigation as you're using an old version of > Django and many bugs have been fixed since then. If you can reproduce a > problem with Django 2.2 alpha and a fresh database, feel free to create a > ticket if you can't find

Re: inspectdb traceback

2019-02-01 Thread Tim Graham
Now I see you have 1.6.11.7 which isn't an official Django release -- it looks like it may have come from your Linux distribution rather than from PyPI. On Friday, February 1, 2019 at 9:48:43 AM UTC-5, christia...@itsv.at wrote: > > well ,this is the version which "pip install django" delivered

Re: 2.2a1: django-admin migrate throws UnicodeEncodeError

2019-02-01 Thread Tim Graham
I think your shell/terminal isn't configured for Unicode. Take a look here for some ideas about how to solve it: https://stackoverflow.com/questions/9942594/unicodeencodeerror-ascii-codec-cant-encode-character-u-xa0-in-position-20/39293287 On Friday, February 1, 2019 at 1:49:07 PM UTC-5,

Re: Need Contributors and beginners for job portal ( Whatsapp group )

2019-02-01 Thread Emmanuel klutse
I’m so much interested but I’m a beginner . On Fri, 1 Feb 2019 at 12:34 AM, Roshan Shah wrote: > I want to build a job portal for companies who sponsor work visas to > skilled resources. > > 1) Candian Employers offering jobs to express entry professionals > 2) US Employers offering TN Visas to

Re: Looking for a Django Co-Founder.

2019-02-01 Thread Alison Mukoma
Hello Zack, Perhaps we could all meet using zoom which is also free and effective. we may only need a meeting room/link for the active meeting and all will be able to join on the scheduled timestamp. Thanks, Alison On Fri, Feb 1, 2019 at 6:27 PM 'Amitesh Sahay' via Django users <

Retrieve data from database by taking user input data.

2019-02-01 Thread Surajeet Das
I have been trying to write a query to retrieve data from database by taking input from user . But the problem I am facing is after the input is given , the page does not get refreshed to another page, rather it refreshes to the same page again. Help me on this. -- You received this message

2.2a1: django-admin migrate throws UnicodeEncodeError

2019-02-01 Thread Axel Rau
Hi, File "/usr/local/py_venv/erdb2-django/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 266, in migration_progress_callback self.stdout.write(" Applying %s\u2026" % migration, ending="") File

Re: Local variable dump on exception in production environment (DEBUG=False)

2019-02-01 Thread Simon Charette
Hello there, I haven't tried it myself but you could try subclassing django.utils.log.AdminEmailHandler to rely on the better-exceptions[0] package to _better_ format exceptions sent in text emails or simply set the include_html option[1] to True in your LOGGING configuration to get report

Re: Migration question: why causes this change a non-empty migration?

2019-02-01 Thread Tim Graham
AutoField has AUTO_INCREMENT while IntegerField does not so if the migration is working correctly, I think its purpose is to drop the AUTO_INCREMENT. I'm reluctant to continue investigation as you're using an old version of Django and many bugs have been fixed since then. If you can reproduce

Re: Looking for a Django Co-Founder.

2019-02-01 Thread 'Amitesh Sahay' via Django users
Hello Zack, I have been saying that I am interested since one month now. Still you keep asking the same question. Please schedule a conference call with all the interested stakeholder. There are many free online software that allows conference call free of cost e.g. SKYPE.  Let me know. My

Re: Local variable dump on exception in production environment (DEBUG=False)

2019-02-01 Thread vineeth sagar
Ha, Hope you find a solution with django itself, sentry integration is just two lines and boom all uncaught exceptions, logger.error,exception,critical are automatically reported. Goodluck regards Vineeth On Fri, Feb 1, 2019 at 4:45 PM Web Architect wrote: > Hi Vineeth, > > Thanks for the

Beginner

2019-02-01 Thread Khushal Kumar
Hi everyone, Hope you are well. I am creating shopping cart app. But, I can't seem to create the model for products since I need the product name to have different sizes and each size to have different colors and in the end, the number of products(in each of those sizes and colors). Also, how

Re: beginner

2019-02-01 Thread Bob Gailer
I would be glad to give mentoring a shot. Send me your questions. If we enjoy working with each other then we'd need to negotiate some kind of payment for my services. Bob Gailer On Jan 31, 2019 4:36 PM, "Emmanuel klutse" wrote: > I want to be one of the best in the field (python n Django), so

Re: inspectdb traceback

2019-02-01 Thread Tim Graham
You must use an older version of mysqlclient for such an old (and unsupported) version of Django. On Friday, February 1, 2019 at 7:50:11 AM UTC-5, christia...@itsv.at wrote: > > > while trying to build an app around an existing database, inspectdb bails > out on me. the server is running fine

Re: inspectdb traceback

2019-02-01 Thread christian . tremel
well ,this is the version which "pip install django" delivered to me, it was not indentionally installed. how to get a "new" version via pip? On Friday, February 1, 2019 at 3:45:15 PM UTC+1, Tim Graham wrote: > > You must use an older version of mysqlclient for such an old (and > unsupported)

Migration question: why causes this change a non-empty migration?

2019-02-01 Thread Carsten Fuchs
Dear Django group, using a model like this: ``` class Kostenstelle(models.Model): id = models.AutoField(primary_key=True) name = models.CharField(max_length=60, blank=True) # ... omitted fields class Meta: db_table = 'kostenstelle' ``` I replaced the `id` line with ```

Re: Possible hack attempt

2019-02-01 Thread Samuel Muiruri
I got it handled I just wanted to point out I noticed something bizarre for two reasons: 1. Get devs on alert that this exists (I don't believe my system is compromised) 2. Ensure the community might pick on this if said hacker plans to target django sites. On Fri, Feb 1, 2019 at

inspectdb traceback

2019-02-01 Thread christian . tremel
while trying to build an app around an existing database, inspectdb bails out on me. the server is running fine and says "0 errors found". any ideas ? root@lpgaixmgmtlx01:/root/django/aixregistry_nxt>./manage.py runserver 0.0. 0.0:8000 Validating models... 0 errors found February 01, 2019 -

Re: Possible hack attempt

2019-02-01 Thread Jason
this really isn't django's responsibility to handle, but more at the level of your apache or nginx webserver that routes to django I really hope you're running this with DEBUG=False in your settings Check https://www.fail2ban.org/wiki/index.php/Main_Page for some ip-based filtering you can use

Re: Need Contributors and beginners for job portal ( Whatsapp group )

2019-02-01 Thread Emeka boris ama
I am interested Virus-free. www.avast.com

Possible hack attempt

2019-02-01 Thread Samuel Muiruri
I'm working on launching a site which currently is still linked to only an IP and thanks to how digitalocean recommends setting it up and how I built it I feel it's relatively safe provided that the security I implemented on ubuntu as recommended and Django's inbuilt security avoiding file

Re: Local variable dump on exception in production environment (DEBUG=False)

2019-02-01 Thread Web Architect
Hi Vineeth, Thanks for the info. Sentry sounds interesting and we will have a look at Sentry as it might need integration. Django does report function trace via mails but we are looking for the local variable trace also . Was hoping a small tweak in django should help. Thanks. On Friday,

Re: Connecting a model of deep learning to website built in django.

2019-02-01 Thread prateek gupta
Hi, I have found django-ai which you can use to integrate your deep learning model in your django project. On Thursday, January 31, 2019 at 4:54:16 PM UTC+5:30, Bushra Tayyaba wrote: > > I have built a model in deep learning and want to use this

Re: Local variable dump on exception in production environment (DEBUG=False)

2019-02-01 Thread vineeth sagar
Hi, I am not sure about django, but you can have a look at sentry, we use it in production and it gives everything you ask for. I am sure Django also does it but I find sentry better for error reporting. regards Vineeth On Feb 1, 2019 3:41 PM, "Web Architect" wrote: > Hi, > > In our

Re: Unable to load Google Tag Manager in my Django admin app

2019-02-01 Thread prateek gupta
Here my aim was to use geoplugin with GTM in my Django app. For this I need to hit following url first to get authorize in geoplugin site- http://www.MYDJANGO.com/geoplugin_activation.html That's why I have created two html files. On Friday,

Local variable dump on exception in production environment (DEBUG=False)

2019-02-01 Thread Web Architect
Hi, In our production environment, we receive mail whenever an exception happens in our django application. But it contains only the function traces. The log will be helpful it also contains data dump or the local variable dump for each function trace. The exception trace on the browser in

Unable to load Google Tag Manager in my Django admin app

2019-02-01 Thread prateek gupta
Hi All, I am trying to use Google Tag Manager(GTM) in my Django 2.0.6 application by following below url- https://github.com/Lacrymology/django-google-tag-manager In GTM console I have set my app but when I preview my app, GTM is not loading. I suspect I am missing something with respect to my

Re: NoReverseMatch at /someurlname/ - Reverse for 'htmlname' with arguments '('1',)' not found. 1 pattern(s) tried: ['somehtmlname/$']

2019-02-01 Thread Ivan Martić
i think i found the issue, problem was in the html url tag.. i should look like this href="{ url 'update_group' list_all.url_id }"> not like this href="{ url 'update_group' item.id }"> thank you all pet, 1. velj 2019. u 09:26 Ivan Martić napisao je: > Hi guys, any help on this matter? i still

Re: NoReverseMatch at /someurlname/ - Reverse for 'htmlname' with arguments '('1',)' not found. 1 pattern(s) tried: ['somehtmlname/$']

2019-02-01 Thread Ivan Martić
Hi guys, any help on this matter? i still have noreverse issue. There is something wrong with my url nameing sri, 30. sij 2019. u 10:55 Ivan Martić napisao je: > Bok Nebojša, jel možeš uletit i pogledati molim te što radim krivo. >>> >>> Znači, imam 2 aplikacije, prva abc radi a druga product