Re: Looking for angular-django developers

2020-07-09 Thread Hadisur Rahman
He should point the no salary till December 2020, just waste my some valuable time. [image: Mailtrack] Sender notified by Mailtrack

Re: Looking for angular-django developers

2020-07-09 Thread Hadisur Rahman
Dear Django-users group admins a concern about this fake post, please take proper action as soon as possible on it. see my attachment. [image: Mailtrack] Sender notified by Mailtrack

Re: Not null constraint error when adding a child record .

2020-07-09 Thread sum abiut
you need to pass the instance of the requisition id to your form before you can save it. You can try this: myrequistion=requistion.objects.get(id=requistion_id) form=RequistiondetailForm(request.POST, inctance= myrequistion) if form.is_valid() form.save()

Re: Not null constraint error when adding a child record .

2020-07-09 Thread Budi Hermansyah
one of the solution is, create new URL that have hash_id of the parent, so when you submitted the form, you can get parent object using their hash_id how ab that? On Fri, Jul 10, 2020 at 10:14 AM Ashutosh Mishra < ashutoshmishra...@gmail.com> wrote: > That is a data base related error,this

Re: Not null constraint error when adding a child record .

2020-07-09 Thread Ashutosh Mishra
That is a data base related error,this happens when you have already inserted data to a field of a model then try to manipulate that model again.If you know how to handle database then delete that or,delete this whole database and start again. On Thursday, July 9, 2020 at 3:49:21 PM UTC+5:30

How to get data from django model to excel sheet using openpyxl including images.

2020-07-09 Thread Ashutosh Mishra
I am creating an api to get data and images from django model to excel sheet ,how can i do that,someone please help me. -- 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

Re: Is there a better way to change the default server port?

2020-07-09 Thread Mike Dewhirst
On 10/07/2020 12:11 am, Kshitij Kotasthane wrote: Doing this every time I run the server is really inconveninent as I said above. On Thursday, 9 July 2020 00:40:54 UTC+5:30, Luciano Martins wrote: python manage.py runserver localhost:5000 Em quarta-feira, 8 de julho de 2020 12:56:58

Re: no-referer CSRF error occured in only Edge

2020-07-09 Thread Hella Nick
Wow Seong Gyu Choi 于2020年7月9日周四 下午9:48写道: > Django Web Page worked properly well with POST method action in Chrome, > Firefox. But No-refere CSRF error occurs only in Edge MS browser. > > I found someone with an error similar to the one below, and I used the > method I told you here but

Re: ERROR WHEN RUNNING PYTHON SCRIPT IN DJANGO ENVIRONMENT

2020-07-09 Thread Sunday Iyanu Ajayi
Postgres DB I finally got around it using django-extension django-extension packages helps one to run python scripts in django environment *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Thu, Jul 9, 2020 at 7:12 PM dr neyx de godlove wrote: > which database are you using > >

ERROR WHEN RUNNING PYTHON SCRIPT IN DJANGO ENVIRONMENT

2020-07-09 Thread Exactly musty
For any database you are using use this after your database is been set appropriately with the help of django doc Python manage.py makemigrations Python manage.py migrate -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: ERROR WHEN RUNNING PYTHON SCRIPT IN DJANGO ENVIRONMENT

2020-07-09 Thread dr neyx de godlove
which database are you using On Thu, Jul 9, 2020 at 5:35 PM Sunday Iyanu Ajayi wrote: > Hi guys > > Please I need help with my code. > > I am trying to run a python script in my django environment and that > makes use of the django database. I get this error > > ModuleNotFoundError: No module

ERROR WHEN RUNNING PYTHON SCRIPT IN DJANGO ENVIRONMENT

2020-07-09 Thread Sunday Iyanu Ajayi
Hi guys Please I need help with my code. I am trying to run a python script in my django environment and that makes use of the django database. I get this error ModuleNotFoundError: No module named project.settings But if I run manage.py runserver, it runs without error *AJAYI Sunday *

Re: Is there a better way to change the default server port?

2020-07-09 Thread Kshitij Kotasthane
Doing this every time I run the server is really inconveninent as I said above. On Thursday, 9 July 2020 00:40:54 UTC+5:30, Luciano Martins wrote: > > python manage.py runserver localhost:5000 > > Em quarta-feira, 8 de julho de 2020 12:56:58 UTC-3, Kshitij Kotasthane > escreveu: >> >> I

Re: Looking for angular-django developers

2020-07-09 Thread Divakar Upadhyay
Can you take fresher sir. As I have experience of. Net mvc development. On Thu, 9 Jul 2020, 10:10 am maninder singh Kumar, < maninder.s.ku...@gmail.com> wrote: > Dear all, > > There is a requirement for angular-django developers. Experience 1-3 > years. Post your resumes if interested to

no-referer CSRF error occured in only Edge

2020-07-09 Thread Seong Gyu Choi
Django Web Page worked properly well with POST method action in Chrome, Firefox. But No-refere CSRF error occurs only in Edge MS browser. I found someone with an error similar to the one below, and I used the method I told you here but couldn't solve it.

no-referer CSRF Error in Only MS Edge Browser

2020-07-09 Thread Seong Gyu Choi
CSRF error appears when taking POST action in only MS Edge Browser(Chrome, Firefox works properly) The situation is similar to the question below, but it has not been resolved by the proposed solution. ( https://stackoverflow.com/questions/53186554/django-csrf-token-issue-with-edge-only )

Make the Right Queryset

2020-07-09 Thread Ha
hello django users ! I don't know how to do the right queryset, to get total mail have status='affecté' in the same date I used a queryset like this : Evenement.objects.annotate(Day=TruncDay('date_Evt')).values('Day')\ .annotate(affecte=Count('mail_item_fid',filter=Q(status='affecté')))\

Re: transforming form input

2020-07-09 Thread Kai Kobschätzki
Hi Benjamin and Clive, thanks a lot for your response! My explanation was mistakable because I tried to simplify it. My reals use case is accountancy (German-GAAP). If I get an accounting record I have two accounts, for example telephone costs and bank. If my company is liable to VAT I have to

Re: Suggestions Front tool

2020-07-09 Thread Derek
You can use any of those tools to get a GUI looking exactly as you want (buttons, colors etc.) - a web "GUI" is not really that different from any others, and desktop GUIs have been around for a long time. Again, I don't think Django is a good fit for the use case you have described (but not