Creating users represented by two models in OneToOne relation

2018-04-26 Thread quentin . agren
Hi, This quesion is related to the common pattern of representing a siteuser (henceforth referred to as "member"), by two models that have aone-to-one relation: 1. A builtin

Re: Do you know good guides to use ajax in django

2018-04-26 Thread CARLOS EDUARDO DAVALOS CORNEJO
thanks for you answer y wiil read the documentation 2018-04-26 4:42 GMT-07:00 Avraham Serour : > I suggest taking a look at http://intercoolerjs.org > > > On Thu, Apr 26, 2018 at 7:36 AM, > wrote: > >> Im starting a social network for my

Re: Django - Angular 4 Serializer for inserting Parent and child Models using single JSON post

2018-04-26 Thread Serge Kalimunda
Hey dear, how to get out of the group conference? plz help On Mon, Apr 9, 2018 at 3:22 PM, Nathan Sivathanu < nathan.sivathanupil...@gmail.com> wrote: > My requirement - I have two models TravelReq and TravelReqDetails as below > > class TravelReq(models.Model): > empid=

help me formset

2018-04-26 Thread Bob White
hello. i have an issue. i want to render formset as table then add row (form) using a modal. then in table should show just data instead of input. as vb we can use a modal to add row to table have you ever done this before? -- You received this message because you are subscribed to the Google

Re: Django--Making query use part of the matching name

2018-04-26 Thread shawnmhy
But how about my query string? I am using 'q' as the search term 在 2018年4月26日星期四 UTC下午3:19:15,James Farris写道: > > Try using filter(id__regex=r'\w’) > > I’m not sure if this will give you the exact results your looking for, but > worth a shot. > > > Sent from my mobile device > > On Apr 26,

Re: Django--Making query use part of the matching name

2018-04-26 Thread James Farris
Try using filter(id__regex=r'\w’) I’m not sure if this will give you the exact results your looking for, but worth a shot. Sent from my mobile device > On Apr 26, 2018, at 2:31 AM, shawn...@gmail.com wrote: > > Thank you for your help! And yes, I think I should use regex. But could you >

RE: Crazy Idea: OOP for "Hyperlink"

2018-04-26 Thread Matthew Pava
I’ve been thinking about your idea, and I wonder if there could instead be some kind of widget for URL objects (or views). From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of guettli Sent: Thursday, April 26, 2018 8:34 AM To: Django users Subject: Re: Crazy

Re: Crazy Idea: OOP for "Hyperlink"

2018-04-26 Thread guettli
Am Mittwoch, 25. April 2018 17:29:36 UTC+2 schrieb Jani Tiainen: > > Hi. > > Most probably you get there by creating custom template tag and bunch of > other code. > > It would be easier to grasp your idea if you have some kind of an > implementation to reference. > > Or is there something

Re: Crazy Idea: OOP for "Hyperlink"

2018-04-26 Thread guettli
I would like to keep both things separated: - Attributes for URLs - Access without login What do you think? Regards, Thomas Am Mittwoch, 25. April 2018 14:04:22 UTC+2 schrieb TonyF-UK: > > Interestingly, I am thinking on something similar too - having a > report/notifications/actions view

Re: Do you know good guides to use ajax in django

2018-04-26 Thread Avraham Serour
I suggest taking a look at http://intercoolerjs.org On Thu, Apr 26, 2018 at 7:36 AM, wrote: > Im starting a social network for my school and i need to show the coments > of my post without recharging the whole and for other things in my proyect > > -- > You

EDX Ginkgo - (login_and_register.hmtl)

2018-04-26 Thread Sergen Ucar
Hello guys, I just wanna ask you, how can I do "login_and_register.html" is a modal. When I click "login", I don't wanna change my page. I just wanna open modal for login and sign up. Please help me about this problems. If you are using edx-ginkgo for improve yourself, you can see what I am

The sending of an attachment in pdf format under django.

2018-04-26 Thread Bienvenue Emmanuel
Hello ! I hope you are well... I am working on project of registration in a school where I must recover, put the information entered by the user in a template and be able to translate this template into pdf in the end send the generated PDF file as an attachment of a mail that I send back to

Do you know good guides to use ajax in django

2018-04-26 Thread carlos . davalos17
Im starting a social network for my school and i need to show the coments of my post without recharging the whole and for other things in my proyect -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Django--Making query use part of the matching name

2018-04-26 Thread shawnmhy
Thank you for your help! And yes, I think I should use regex. But could you please show me how to use it in my example, since I am new to django.. 在 2018年4月26日星期四 UTC+1上午2:14:10,James Farris写道: > > I believe you want to use icontains rather than contains. It’s case > insensitive. > > I’m not

django cookie cutter docker with caddy

2018-04-26 Thread venkat eswar
Hi All, caddy env file: Caddy -- DOMAIN_NAME=balajidigitals.in caddy production config www.{$DOMAIN_NAME} { redir https://balajidigitals.in } {$DOMAIN_NAME} { proxy / django:5000 {