Re: how can I reference a field from one model to another model

2019-01-24 Thread Mike Dewhirst
On 24/01/2019 5:28 pm, carlos wrote: Hello, I do not know if I'm asking the question correctly, but I need to call a field of one model in another model example: class ModelDad(models.Model):     name = blablabla class ModelChild1():    fk(ModelDad)    number = models.IntegerField()

Re: Job Request

2019-01-24 Thread amit pant
why all non IT and cs student be in IT and cs? On Thu, Jan 24, 2019 at 11:28 PM RETAIL CYBER wrote: > They can I'll be looking for more jobs soon I'd personally if u get it > learned I'd go-to Fiverr > > On Thu, Jan 24, 2019, 9:35 AM Motaz Hejaze >> Hi all , >> >> Is there any remote job

Re: validator not working in serializers.ModelSerializer

2019-01-24 Thread Maurya Allimuthu
Hi Andreas Kuhne, Thanks on the quick answer and great help. :-) Hi Andreas Kuhne/All, Is there a way or any kind of approach, I can use validators/anything in GET method to format/change the output of the data coming from database and before getting changed by serializer as stream of strings.

Re: Admin form_url breakout problem

2019-01-24 Thread Mike Wyatt
HI, I think you have the wrong Mike here. Although I use Django, None of these issues are ones that I can 1) help with or 2) am dealing with now. Mike On Thu, Jan 24, 2019 at 2:37 PM Mike Dewhirst wrote: > On 25/01/2019 2:40 am, Matthew Pava wrote: > > Hi Mike, > > I'm not really seeing why

Re: Admin form_url breakout problem

2019-01-24 Thread Mike Dewhirst
On 25/01/2019 2:40 am, Matthew Pava wrote: Hi Mike, I'm not really seeing why this is throwing errors at you. It seems like you've done everything right. That's very generous of you :) I got it mostly working last night after patching some code which was throwing errors. There's a bit of

Re: Questions about MySQL notes in Django docs

2019-01-24 Thread Kasper Laudrup
Hi RETAIL CYBER On 24/01/2019 18.59, RETAIL CYBER wrote: Now I'm stuck on it saying phpmyadmin not working Have you tried turning it off and on again? (Sorry, couldn't help it) /Kasper -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Questions about MySQL notes in Django docs

2019-01-24 Thread Jason
please stick to one topic per issue, and not keep spamming random topics. -- 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

DateInput - Django ModelForms

2019-01-24 Thread Maxwell Alves de Sousa
Boa tarde, primeiramente gostaria de pedir desculpas adiantado aos ADMs caso a minha pergunta/dúvida esteja fora do escopo do grupo. Também gostaria de avisar que sou marinheiro de primeira viagem no Django, e estou tendo algumas dificuldade para interpretar algumas coisa do mesmo. Dito isso,

Re: Questions about MySQL notes in Django docs

2019-01-24 Thread RETAIL CYBER
Now I'm stuck on it saying phpmyadmin not working On Wed, Jan 23, 2019, 4:26 PM Carsten Fuchs Hi Tim, > > thanks for your reply! > > I'm sorry if I left the impression that I had not spent any time with > research before posting my question! > > Unfortunately and mistakenly, I was referring to

Re: Job Request

2019-01-24 Thread RETAIL CYBER
They can I'll be looking for more jobs soon I'd personally if u get it learned I'd go-to Fiverr On Thu, Jan 24, 2019, 9:35 AM Motaz Hejaze Hi all , > > Is there any remote job regarding Django , i am a beginner to mid-level in > Django .. > > Thanks all .. > > -- > You received this message

Re: Job Request

2019-01-24 Thread Nitin Kumar
Hi, I am also looking for similar jobs. If you find anything do let me know. Please find attached. Regards, Nitin On Thu, Jan 24, 2019 at 9:05 PM Motaz Hejaze wrote: > Hi all , > > Is there any remote job regarding Django , i am a beginner to mid-level in > Django .. > > Thanks all .. > > --

Re: when type code in server and i migrate always get this error i dont know why, if pull script from git get the same error, in windows code work normaly. __pychace__ was cleaned. file migrations 000

2019-01-24 Thread Motaz Hejaze
is it a permissions issue? On Thu, Jan 24, 2019 at 6:00 PM jemmy sapta wrote: > Traceback (most recent call last): > File "manage.py", line 15, in > execute_from_command_line(sys.argv) > File > "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/core/management/ >

Re: Things are notrithg and my website is not detecting fraud

2019-01-24 Thread Motaz Hejaze
please provide your code and any error messages , what is the problem exactly ?! On Thu, Jan 24, 2019 at 6:00 PM Mudasir Hussain wrote: > Initially the site has been built for banks , website owners to signup and > connect our backend engine to theit website ,so that whenever any act of >

Things are notrithg and my website is not detecting fraud

2019-01-24 Thread Mudasir Hussain
Initially the site has been built for banks , website owners to signup and connect our backend engine to theit website ,so that whenever any act of Fraud wanted to happen alert and signals will be sent to our users website and they can view this through their own dashboard when they login to

when type code in server and i migrate always get this error i dont know why, if pull script from git get the same error, in windows code work normaly. __pychace__ was cleaned. file migrations 000.py

2019-01-24 Thread jemmy sapta
Traceback (most recent call last): File "manage.py", line 15, in execute_from_command_line(sys.argv) File "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/core/management/ init.py", line 381, in execute_from_command_line utility.execute() File

RE: Admin form_url breakout problem

2019-01-24 Thread Matthew Pava
Hi Mike, I'm not really seeing why this is throwing errors at you. It seems like you've done everything right. Could you provide the code (or the relevant parts) for the Substance Admin form? Thanks! -Original Message- From: django-users@googlegroups.com

Job Request

2019-01-24 Thread Motaz Hejaze
Hi all , Is there any remote job regarding Django , i am a beginner to mid-level in Django .. Thanks 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

Re: Questions about MySQL notes in Django docs

2019-01-24 Thread Jason
It doesn't look like the fixes were backported to 1.11, after looking in the django 1.11 release notes. As Tim said, Based on the commits there, it looks like Django 2.0.7 and above received > the fixes > What I would suggest you do with this is start a django 2.0 project project with the

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

2019-01-24 Thread Ivan Martić
Hi Andréas, sorry for misspeling in codes. All is working ok except when i try to put url tag for 'update_productsgrouping'. I need to update group with new products but It does not argument for group id. What do you think i am doing wrong...? čet, 24. sij 2019. u 13:43 Andréas Kühne napisao

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

2019-01-24 Thread Andréas Kühne
Hi, The reason you are getting this is that you are adding an argument to the productsgrouping url - which doesn't take any arguments. In your code you have: (Which by the way isn't correct either, I think you mean: {{ item }} - {{item.id}} ) If you look at the url for the producsgrouping

Re: validator not working in serializers.ModelSerializer

2019-01-24 Thread Andréas Kühne
Hi, Validators are only called when you are updating something on the model - a get request doesn't update anything and the validators will not be called (there is no data sent to the server to validate). The validators will be called on a POST, PUT or PATCH request. Regards, Andréas Den tors

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

2019-01-24 Thread Ivan Martić
Hi all, i am having issue with url tag, every time i put url tag like --{% url 'productsgrouping' item.id%}-- i get no reverse error. Can you help me figure it out on what am i doing wrong? view: def productsgrouping_view(request): queryset = MaterialGroup.objects.all() context = {"list" :

validator not working in serializers.ModelSerializer

2019-01-24 Thread Maurya Allimuthu
Hi All, I use serializers.ModelSerializer and viewset DetailViewset(APIView). The validators are not getting called on GET request of the viewset via URLS, but the GET request is working. def validate(self, attrs): if attrs.get('password') != attrs.get('confirm_password'): raise

django

2019-01-24 Thread Amol Rashinkar
-- 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 django-users@googlegroups.com.

django rest framework - validators are not getting called in GET request, but the GET request is working.

2019-01-24 Thread Maurya Allimuthu
django rest framework - validators are not getting called in GET request, but the GET request is working. please help on this -- 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,

Re: Questions about MySQL notes in Django docs

2019-01-24 Thread Carsten Fuchs
Hi Michael, Am 23.01.19 um 13:56 schrieb Michal Petrucha: >> d) Why is isolation level "read committed" preferred over "repeatable read"? >> The text says "Data loss is possible with repeatable read.", but how can >> "repeatable read" have data loss that "read committed" has not? > > I can't

Re: Overriding settings in Django when used by the models

2019-01-24 Thread Carlton Gibson
Hi Uri. Does it work if you make `User.settings` a property, that fetches the values dynamically, rather than assigning them once at import time? Something like: @property def settings(self): return django_settings.USER_SETTINGS -- You received this message because you are subscribed

Re: Charfield variable length

2019-01-24 Thread 'Odile Lambert' via Django users
Hello thank you very much for your answer. Your answer about the chafield max length is clear. I do not know how to clarify my use case because it is very special : the binary codes (there are 4) in the database will be used to set pushers on a knitting