How can I refresh admin_urls

2019-02-22 Thread Mike Dewhirst

(Resend with urls which I previously omitted)

In a 'Substance' app I have a Stripe payment facility working from 
within the Admin. The problem is it spoils admin_urls so the user cannot 
get back to the Substance Admin. When the Stripe work is done, how do I 
re-initialise the admin urls?


I want to display a success page with a link back to the substance page. 
I can provide exactly the correct url but all it shows is an admin page 
with no content. The correct url is /admin/substance/substance// and 
that works only if the Stripe mechanism has not been called since the 
dev server reloaded itself.


I probably have an incorrect diagnosis here. The problem is most likely 
my misunderstanding of how to use the Admin properly. Any help will be 
very much appreciated.


Thanks

Mike

The process uses ModelAdmin.change_view()[1] to call my 
billing_payment_view()[2] which uses PaymentForm[3] and payment.html[4] 
template to pass the necessary hidden vars.


When the view executes (depending on whether payment is required) it 
pops up a (Stripe js) credit card collection form with a [Pay] button 
and that submits the detail to the Stripe API which in turn generates a 
token if successful or an error message and re-executes the 
billing_payment_view with request.POST including that detail plus all 
the hidden fields in the form. The view goes on to process the detail, 
generate a receipt, send an email to the payer and launch the 
billing_success_view()[5] and success.html[6] template.


Oh .. and the urls[7]

[1] SubstanceAdmin.change_view() def change_view(self, request, 
object_id, form_url='', extra_context=None): """ self = SubstanceAdmin 
request = wsgi request object object_id = substance form_url = no idea! 
extra_context = dict of apps, models, admin_urls and permissions sm2mi 
stands for substance m2m ingredient. Ingredients are substances in a 
many-to-many relationship with another substance (ie a mixture). The 
through table is called Substance_Ingredients """ ingredients = 
Substance_Ingredients.objects.filter(substance_id=object_id) 
subscription = None for sm2mi in ingredients: payable, fee_type = 
sm2mi.fee_payable() # eg., True, PAID_DATA if payable: subscription = 
billing_subscribe(sm2mi, fee_type) if subscription: # we need to collect 
money for the owner self.change_form_template = 'payment.html' context = 
billing_collect_context( sm2mi, subscription, ) # get everything into 
the payment_view context if not extra_context: extra_context = dict() 
extra_context.update(self.admin_site.each_context(request)) 
extra_context.update(context) self.admin_site.admin_view( # now call the 
Stripe mechanism billing_payment_view( request, sm2mi, subscription, 
context=extra_context, ) ) # only one sm2mi at a time break return 
super(SubstanceAdmin, self).change_view( request, object_id, form_url, 
extra_context ) [2] billing_payment_view() @ensure_csrf_cookie def 
payment_view(request, sm2mi=None, subscription=None, context=None): 
display_message = '' display_insert = '' email_message = '' 
subscription_message = '' subscription_insert = '' charge = None context 
= context or {} templt = 'payment.html' form = PaymentForm() if 
request.method == "POST": resp = dict(request.POST) # data has been 
submitted to Stripe via Stripe js # stripe submits the js form which 
comes back without identifying args form = PaymentForm(request.POST) if 
form.is_valid(): go_back = '/admin/substance/substance/' try: token = 
form.cleaned_data['stripeToken'] if token: email = 
form.cleaned_data['stripeEmail'] sm2mi_id = 
form.cleaned_data['sm2mi_id'] if sm2mi_id and sm2mi is None: sm2mi = 
Substance_Ingredients.objects.get(pk=int(sm2mi_id)) subscription_id = 
form.cleaned_data['subscription_id'] if subscription_id and subscription 
is None: subscription = 
Subscription.objects.get(pk=int(subscription_id)) if sm2mi and 
subscription: ingredient = sm2mi.ingredient cents = 
subscription.get_cents() fee_total = subscription.calc_fee(total=True) # 
gst in charge = stripe.Charge.create( amount=int(float(fee_total) * 
cents), currency=subscription.fee_currency, 
description='{0}'.format(subscription.ingredient.name), source=token, ) 
if charge: go_back = '/admin/substance/substance/%s/' % 
sm2mi.substance.id subscription.token = token # see above try: with 
transaction.atomic(): subscription.save() except Exception: raise # 
transaction is done now make a receipt amount_paid = charge['amount'] if 
cents > 1: # cents may be zero eg', JPY amount_paid = 
round(charge['amount'] / cents, 2) receipt = Receipt.objects.create( 
licensee=sm2mi.substance.division.company, ingredient=ingredient, 
currency=subscription.fee_currency, amount_paid=amount_paid, 
charge=charge, ) receipt.save() # defaults need all methods to execute # 
make a received message for display and emailing para = '' endpara = 
'' strong = '' endstrong = '' display_message = 
'Thank you for your {0} {1}{2} '\ 'payment to {3} for 
{4}'.format( 

Re: looking for team members as my technical Advisory

2019-02-22 Thread Nura Bash
very sure u are right in all our documentation for the project will be
mention and letter of participation will be send.

On Sat, Feb 23, 2019, 1:45 AM Motaz Hejaze  wrote:

> If this project is private and not open sourced , then you need a real
> help for free , there are a lot of kind people to help for free , but at
> least they deserve to be known as they did particibate in your project , so
> how do you plan to mention them as coworkers if your project is going to be
> a private one ???
>
> On Sat, 23 Feb 2019, 01:13 Nura Bash,  wrote:
>
>> We are happy to work with you too. OK no problem do send us u summary
>> profile yours and you picture, and with a letter addresse to "Teamlead
>> Enterprise Nigeria" as django  senior Technical  advisory to
>> teamlea...@gmail.com
>>
>> note :is voluntary work.
>>
>>
>> Thank you.
>>
>> my mobile is +2347034832618
>>
>> Nura bashir
>>
>> On Fri, Feb 22, 2019, 12:29 PM Motaz Hejaze  wrote:
>>
>>> I am interested
>>>
>>> On Fri, 22 Feb 2019, 12:02 Nura Bash,  wrote:
>>>
 Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
 looking for Technical advisory members for my project which am about to
 start here in West Africa, is a plot project from 10 selected schools to
 help train  kids django..

 If any one is interested I can be reach out via whatpp +23434832618 or
 my email nurabas...@gmail.com
 Thank you

 --
 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.
 Visit this group at https://groups.google.com/group/django-users.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
 .
 For more options, visit https://groups.google.com/d/optout.

>>> --
>>> 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.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAHV4E-dbPkP4F3-Ji5EszjDzCktg-MhjPeQNDXXydH3UNcf4yg%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> 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.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CABS7UgbtdKacGq98t6P4Erv9nVNorQ%2BtmgU%3DCCFwcF68HnhTiQ%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHV4E-dnuq6pR%2BocyPFdyvhT8DvbhbXVXDgnDrNS%2Bo_s%3DuUvzA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABS7UgYiUErMpisfsT6agZjDTR6fWTsYyf9hv5MFXNMJyehvxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Work from home opportunites

2019-02-22 Thread Fernando Villegas
I can help you with your projects I have the experience on the field of the
industry medical devices 13485, aerospace 9100, automotive 16949). I know
about design, processes, regulations and systems. Also I know python and
django, java and SQl.
Best regards.

On Fri, Feb 22, 2019, 4:40 PM Motaz Hejaze  Try to particibate in any open source projects about django
>
> On Fri, 22 Feb 2019, 22:45 Vaibhav Kumar Chaudhary, <
> vaibhavkumar...@gmail.com> wrote:
>
>> Hi all, I am looking for work from home opportunities in Django. I have
>> worked on a few personal projects and want to gain some industrial
>> experience. So if anyone of you knows any opportunities. Please let me
>> know. Thank you.
>>
>> --
>> 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.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/99e0b36d-bc06-4950-b1df-1e1f152f5ee8%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHV4E-d_3BGCZq2B6Du0DcH6EyLOcixjzrFZ-u%3DEh-RaFaQmNQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADxvGSdc7HVHtN84xi_YJg4tQs_R7dGov5wG%3D9qLe0aCQ%3D5khg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Motaz Hejaze
If this project is private and not open sourced , then you need a real help
for free , there are a lot of kind people to help for free , but at least
they deserve to be known as they did particibate in your project , so how
do you plan to mention them as coworkers if your project is going to be a
private one ???

On Sat, 23 Feb 2019, 01:13 Nura Bash,  wrote:

> We are happy to work with you too. OK no problem do send us u summary
> profile yours and you picture, and with a letter addresse to "Teamlead
> Enterprise Nigeria" as django  senior Technical  advisory to
> teamlea...@gmail.com
>
> note :is voluntary work.
>
>
> Thank you.
>
> my mobile is +2347034832618
>
> Nura bashir
>
> On Fri, Feb 22, 2019, 12:29 PM Motaz Hejaze  wrote:
>
>> I am interested
>>
>> On Fri, 22 Feb 2019, 12:02 Nura Bash,  wrote:
>>
>>> Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
>>> looking for Technical advisory members for my project which am about to
>>> start here in West Africa, is a plot project from 10 selected schools to
>>> help train  kids django..
>>>
>>> If any one is interested I can be reach out via whatpp +23434832618 or
>>> my email nurabas...@gmail.com
>>> Thank you
>>>
>>> --
>>> 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.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> 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.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAHV4E-dbPkP4F3-Ji5EszjDzCktg-MhjPeQNDXXydH3UNcf4yg%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CABS7UgbtdKacGq98t6P4Erv9nVNorQ%2BtmgU%3DCCFwcF68HnhTiQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHV4E-dnuq6pR%2BocyPFdyvhT8DvbhbXVXDgnDrNS%2Bo_s%3DuUvzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Work from home opportunites

2019-02-22 Thread Motaz Hejaze
Try to particibate in any open source projects about django

On Fri, 22 Feb 2019, 22:45 Vaibhav Kumar Chaudhary, <
vaibhavkumar...@gmail.com> wrote:

> Hi all, I am looking for work from home opportunities in Django. I have
> worked on a few personal projects and want to gain some industrial
> experience. So if anyone of you knows any opportunities. Please let me
> know. Thank you.
>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/99e0b36d-bc06-4950-b1df-1e1f152f5ee8%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHV4E-d_3BGCZq2B6Du0DcH6EyLOcixjzrFZ-u%3DEh-RaFaQmNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Nura Bash
We are happy to work with you too. OK no problem do send us u summary
profile yours and you picture, and with a letter addresse to "Teamlead
Enterprise Nigeria" as django  senior Technical  advisory to
teamlea...@gmail.com

note :is voluntary work.


Thank you.

my mobile is +2347034832618

Nura bashir

On Fri, Feb 22, 2019, 12:29 PM Motaz Hejaze  wrote:

> I am interested
>
> On Fri, 22 Feb 2019, 12:02 Nura Bash,  wrote:
>
>> Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
>> looking for Technical advisory members for my project which am about to
>> start here in West Africa, is a plot project from 10 selected schools to
>> help train  kids django..
>>
>> If any one is interested I can be reach out via whatpp +23434832618 or my
>> email nurabas...@gmail.com
>> Thank you
>>
>> --
>> 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.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHV4E-dbPkP4F3-Ji5EszjDzCktg-MhjPeQNDXXydH3UNcf4yg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABS7UgbtdKacGq98t6P4Erv9nVNorQ%2BtmgU%3DCCFwcF68HnhTiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Nura Bash
We are happy to work with you too. OK no problem do send us u summary
profile yours and you picture, and with a letter addresse to "Teamlead
Enterprise Nigeria" as django  senior Technical  advisory to
teamlea...@gmail.com

note :is voluntary work.


Thank you.

my mobile is +2347034832618

Nura bashir

On Fri, Feb 22, 2019, 2:15 PM Anusha Damacharla 
wrote:

> Yes, we are interested.
> check our Website for more details https://micropyramid.com/
>
> On Fri, Feb 22, 2019 at 6:13 PM Nitin Kalmaste 
> wrote:
>
>> It's interesting, I am ready
>>
>> On Fri, Feb 22, 2019, 3:32 PM Nura Bash  wrote:
>>
>>> Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
>>> looking for Technical advisory members for my project which am about to
>>> start here in West Africa, is a plot project from 10 selected schools to
>>> help train  kids django..
>>>
>>> If any one is interested I can be reach out via whatpp +23434832618 or
>>> my email nurabas...@gmail.com
>>> Thank you
>>>
>>> --
>>> 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.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> 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.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKroR%2B0ogn2x37t0xBFVi07gukm47U65_UGRuW5OqhWKk3P-Aw%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMzrFNLZayso5C%2B_t9Jfif-Ot4HJuH4U3BihreEW72QJkjj%3DUQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABS7UgaYUT6csoTCxUmh8i6uZea7LjrvXpDBn5%3DLkLZ3QJM8ZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Nura Bash
Thank you for your mail.

We are happy to work with you too. OK no problem do send us u summary
profile yours and you picture, and with a letter addresse to "Teamlead
Enterprise Nigeria" as django  senior Technical  advisory to
teamlea...@gmail.com


Thank you.

my mobile is +2347034832618

Nura bashir

On Fri, Feb 22, 2019, 5:35 PM Nitin Kumar  wrote:

> I am interested.
>
> On Fri 22 Feb, 2019, 9:22 PM Jani Tiainen 
>> I am interested in as well.
>>
>> On Fri, Feb 22, 2019 at 12:02 PM Nura Bash  wrote:
>>
>>> Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
>>> looking for Technical advisory members for my project which am about to
>>> start here in West Africa, is a plot project from 10 selected schools to
>>> help train  kids django..
>>>
>>> If any one is interested I can be reach out via whatpp +23434832618 or
>>> my email nurabas...@gmail.com
>>> Thank you
>>>
>>> --
>>> 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.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> Jani Tiainen
>>
>> - Well planned is half done, and a half done has been sufficient before...
>>
>> --
>> 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.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAHn91oc-%2B56jawabRBzNQ0W1bDrhfw%3Dw7WSgb%3DTBDLPsr_Pb7Q%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKzNicFUd4fC4XWymLO9HBW6%2Bb5SgsLSzOdajg05sd0ZcDV-AA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABS7UgaxUyLr%3Dc5%2BzGWUY6n5Fr_t2aVzpNrz%3Dik3UFR7mr%2Bikw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Nura Bash
Thank you for your mail.

We are happy to work with you too. OK no problem do send us u summary
profile yours and you picture, and with a letter addresse to "Teamlead
Enterprise Nigeria" as django  senior Technical  advisory to
teamlea...@gmail.com


Thank you.

my mobile is +2347034832618

Nura bashir


On Fri, Feb 22, 2019, 12:29 PM Motaz Hejaze  wrote:

> I am interested
>
> On Fri, 22 Feb 2019, 12:02 Nura Bash,  wrote:
>
>> Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
>> looking for Technical advisory members for my project which am about to
>> start here in West Africa, is a plot project from 10 selected schools to
>> help train  kids django..
>>
>> If any one is interested I can be reach out via whatpp +23434832618 or my
>> email nurabas...@gmail.com
>> Thank you
>>
>> --
>> 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.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHV4E-dbPkP4F3-Ji5EszjDzCktg-MhjPeQNDXXydH3UNcf4yg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABS7UgaDUaNfm%2Bq-svoBn1nnhJvgaf1rvdD5cc2oZGg-AfW1LQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Work from home opportunites

2019-02-22 Thread Vaibhav Kumar Chaudhary

Hi all, I am looking for work from home opportunities in Django. I have 
worked on a few personal projects and want to gain some industrial 
experience. So if anyone of you knows any opportunities. Please let me 
know. Thank you.

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/99e0b36d-bc06-4950-b1df-1e1f152f5ee8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Gilbeesh Kosma
I m interested too
On Feb 23, 2019 12:17 AM, "A MARAH"  wrote:

> I m ready to help in testing tasks but as a distant job (working from
> Morocco)
>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/aa77e056-ea36-4d9b-8ee4-3455676b943d%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABV4%2BX6c8R-OMWzC57fpczfeZd8Q18a54-%3DC4GgF8mfmHSQq3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


NavBar - Data presentation in next column

2019-02-22 Thread Antonio José
Hello!

In vertical NavBar, how to presentation the list of data, in next column 
and first row. 

Example:
https://dpaste.de/Zu1t#L10

Thanks.

Antonio

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ce7c869f-e65d-4bac-a5dd-e379a75f5603%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread A MARAH
I m ready to help in testing tasks but as a distant job (working from Morocco) 

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/aa77e056-ea36-4d9b-8ee4-3455676b943d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Nitin Kumar
I am interested.

On Fri 22 Feb, 2019, 9:22 PM Jani Tiainen  I am interested in as well.
>
> On Fri, Feb 22, 2019 at 12:02 PM Nura Bash  wrote:
>
>> Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
>> looking for Technical advisory members for my project which am about to
>> start here in West Africa, is a plot project from 10 selected schools to
>> help train  kids django..
>>
>> If any one is interested I can be reach out via whatpp +23434832618 or my
>> email nurabas...@gmail.com
>> Thank you
>>
>> --
>> 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.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Jani Tiainen
>
> - Well planned is half done, and a half done has been sufficient before...
>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHn91oc-%2B56jawabRBzNQ0W1bDrhfw%3Dw7WSgb%3DTBDLPsr_Pb7Q%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKzNicFUd4fC4XWymLO9HBW6%2Bb5SgsLSzOdajg05sd0ZcDV-AA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Jani Tiainen
I am interested in as well.

On Fri, Feb 22, 2019 at 12:02 PM Nura Bash  wrote:

> Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
> looking for Technical advisory members for my project which am about to
> start here in West Africa, is a plot project from 10 selected schools to
> help train  kids django..
>
> If any one is interested I can be reach out via whatpp +23434832618 or my
> email nurabas...@gmail.com
> Thank you
>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91oc-%2B56jawabRBzNQ0W1bDrhfw%3Dw7WSgb%3DTBDLPsr_Pb7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


django return self.request.user.longueur into an integervalue and do some operations

2019-02-22 Thread abdouramane mahamane
i have in my models  :
class User(AbstractUser):
...
   ...
  longueur =models.IntegerField(null=True, blank=True)


and i want in my views :
 
 when the user is logged to get his 'longueur ' in integer form and do some 
operations.
like
  u=User.objects.get(username=self.request.user)

longitude = u.longitude  in integer form
 my console show me None 


-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2e3ba0b8-198e-4771-af6d-d05de719ab3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Smiley in url triggers 500 error

2019-02-22 Thread Rob
Ok solution was simple. I had to add this in settings.py in the database 
section:
’OPTIONS’: {’charset’: ’utf8mb4’},

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f5f30028-e375-4fc7-929a-2c341c1f9c6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re:

2019-02-22 Thread Vivek Bhavsar
You should put the dot(period) after the polls
For eg:. python manage.py makemigrations polls .

NOTE: There is space between polls and dot(period)


Thanks

On Feb 21, 2019 1:40 PM, "bhushan patil"  wrote:

I am running the command 'python manage.py makemigrations polls' but it's
showing that django.db.models has no attribute model.

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/
msgid/django-users/CAJ%3Ds-Myumw2o8mxYcbjQXjG0Zy%2BVao6kPjmL7dxaajaGDG5MsA%
40mail.gmail.com

.
For more options, visit https://groups.google.com/d/optout.

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMvtZS7V7fGEfyiifdhcAydi_Y16ByrW1VUL3PkA_PLLpKsymw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Anusha Damacharla
Yes, we are interested.
check our Website for more details https://micropyramid.com/

On Fri, Feb 22, 2019 at 6:13 PM Nitin Kalmaste 
wrote:

> It's interesting, I am ready
>
> On Fri, Feb 22, 2019, 3:32 PM Nura Bash  wrote:
>
>> Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
>> looking for Technical advisory members for my project which am about to
>> start here in West Africa, is a plot project from 10 selected schools to
>> help train  kids django..
>>
>> If any one is interested I can be reach out via whatpp +23434832618 or my
>> email nurabas...@gmail.com
>> Thank you
>>
>> --
>> 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.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKroR%2B0ogn2x37t0xBFVi07gukm47U65_UGRuW5OqhWKk3P-Aw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMzrFNLZayso5C%2B_t9Jfif-Ot4HJuH4U3BihreEW72QJkjj%3DUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: how can begin to create my web application

2019-02-22 Thread Jani Tiainen
Hi,

Django Girls do provide very nice tutorial how to build complete web app
with Django from the scratch.

https://tutorial.djangogirls.org/en/

On Thu, Feb 21, 2019 at 5:38 PM Jacques Batumike 
wrote:

> Dear Team
> Morning
> i want to know, how can i begin to create my web application
> Thanks
>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d1611c69-6ec3-4406-bb65-94e088d34f87%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91oe2ZFVfT75s%3D23jfLBHQx37hbuJa90AbzVxysWB--qZXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Nitin Kalmaste
It's interesting, I am ready

On Fri, Feb 22, 2019, 3:32 PM Nura Bash  wrote:

> Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
> looking for Technical advisory members for my project which am about to
> start here in West Africa, is a plot project from 10 selected schools to
> help train  kids django..
>
> If any one is interested I can be reach out via whatpp +23434832618 or my
> email nurabas...@gmail.com
> Thank you
>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKroR%2B0ogn2x37t0xBFVi07gukm47U65_UGRuW5OqhWKk3P-Aw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Bob Gailer
Sounds interesting. Tell me more.

On Feb 22, 2019 5:02 AM, "Nura Bash"  wrote:

> Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
> looking for Technical advisory members for my project which am about to
> start here in West Africa, is a plot project from 10 selected schools to
> help train  kids django..
>
> If any one is interested I can be reach out via whatpp +23434832618 or my
> email nurabas...@gmail.com
> Thank you
>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAP1rxO507W5E5QqQeoEue%3DcgfZ%3Dsgji7evwhs%2BLi%3Dag%3DP3-Mrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


tip for an upload plugin multiple files at once

2019-02-22 Thread Jan Krňávek
Hi everybody,
i have two questions for you.

1] is it possible to upload file with spaces within a name , e.g. "my great 
picture.jpg"?
2) can anybody suggest me some nice upload plugin / solution with a support 
for multiple files at once  and compatible with django?  

Thank you very much for your answers.
Hanz

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6cf111ce-0a85-4f6c-8296-61688395c8e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: looking for team members as my technical Advisory

2019-02-22 Thread Motaz Hejaze
I am interested

On Fri, 22 Feb 2019, 12:02 Nura Bash,  wrote:

> Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am
> looking for Technical advisory members for my project which am about to
> start here in West Africa, is a plot project from 10 selected schools to
> help train  kids django..
>
> If any one is interested I can be reach out via whatpp +23434832618 or my
> email nurabas...@gmail.com
> Thank you
>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHV4E-dbPkP4F3-Ji5EszjDzCktg-MhjPeQNDXXydH3UNcf4yg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: JOIN OUR SLACK CHANNEL

2019-02-22 Thread gilwell muhati
Hello @Gaurav

Click on this *link *

or copy paste this link
 
https://join.slack.com/t/django-users/shared_invite/enQtNTU5MTQwNzU2NjMxLWE3ZGJjYWRhZjA0MWQzN2M2Yzk5MDM5MzMyZWIyZTJkMDZkMzIxZGJhYzMzYjgwODQ2ZDk3ZmQ5ZDIxODgyYTU





*Regards,Gilwell Muhati | +254 710 739 116 | *
*~~“The mind is its own place and in itself can make a heaven of hell, a
hell of heaven…”~~John Milton *


On Fri, Feb 22, 2019 at 12:08 PM gaurav jain  wrote:

> Please provide the invite link
>
> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ae4eace0-87f1-4f6a-9816-1cf5fec1d2f0%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALO4FhHJV0ea5CFHcj-1PTKcxxk_nTAtVdurFRDFNa7UXQod5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Providing help on a website (basic CMS for on-site site documentation)

2019-02-22 Thread Bernd Wechner
Can you offer a link to HuGo? 

Not entirely off-topic. I'm fishing for what people do here. Surely it's a 
ubiquitous need. But I wrote one flatpage following a Django tutorial but 
it's a nightmare to maintain as it's just a blockof HTML in a fiueld in the 
admi interface, aaargh, there must be a canoncial way fo managing a 
hierarchy of flat pages that provide help or FAQs or such for a website.

On Friday, 22 February 2019 21:02:27 UTC+11, ukeplayer01 wrote:
>
> Sorry to go off topic but I can recommend HuGo for simple markdown web 
> pages.
> Cheers
> Roger
> On 22/2/19 5:24 pm, Bernd Wechner wrote:
>
> Hmmm, no-one has any thoughts here ... and I'm on ma' own reinventing the 
> wheel? Surely tehre's a canonical way to provide help on Django website . 
> I'm leaning toward simple flatpages app with a tinymce editor for them for 
> the admin.
>
> On Tuesday, 19 February 2019 16:26:57 UTC+11, Bernd Wechner wrote: 
>>
>> I'm at the point of wanting to write some help for a website, the 
>> standard helpfile sort of scenario ;-). If that means little to you, just a 
>> hierarchy of pages that document things and can be linked. 
>>
>> I wrote page one with the Django flatpages app:
>>
>> https://docs.djangoproject.com/en/2.1/ref/contrib/flatpages/
>>
>> But it's not real comfy in terms of editing and maintaining. So I looked 
>> on-line for solutions and of course nothing with "help" in the search terms 
>> is going anywhere fast (finds me a lot of help about Django ;-). so better 
>> keywordss needed but I have found a pile of maybe options and am suddenly 
>> bamboozled by what is vogue, current, maintained, has a lasting future etc.
>>
>> https://github.com/klen/django_markdown
>>
>> Untouched in 4 years with 22 open issues Hmm.
>>
>> And this looks nice:
>>
>> https://github.com/mjr27/django-flatpages-tinymce
>>
>> but untouched in 7 years and 4 open issues. 
>>
>> Now untouched doesn't mean bad, could just be mature, stable and works 
>> perfectly, already fro 7 years. These are the things it's hard to gauge. 
>> But if I'm looking at TinyMCE how about:
>>
>> https://github.com/aljosa/django-tinymce
>>
>> on which it depends. NO bad, updated a month ago to make it work with 
>> Django 2.1 so seems alive! But my site is math heavy so I want equation 
>> ease so how about:
>>
>> And this looks good:
>>
>> https://www.codecogs.com/latex/integration/tinymce_v3/install.php
>>
>> This looks maybe:
>>
>> https://github.com/iCAPLyon1/tinymce-formula
>>
>> This looks unconvincing:
>>
>> https://github.com/foraker/tinymce_equation_editor
>>
>> and do we want this:
>>
>> https://github.com/Tivix/django-flatpages-nav
>>
>> or this as well:
>>
>> Or hang on why do this piecemeal why not use Wagtail from the word go:
>>
>> http://docs.wagtail.io/en/v2.4/index.html
>>
>> Or would wagtail introduce too much coordination trouble between its 
>> templates and my sites ... etc. etc. I'm full of questions and really just 
>> wondering, is there a canonical solution to a site documentation page 
>> hierarchy and managing it nicely?
>>
>> Regards,
>>
>> Bernd.
>>
>>
>> -- 
> 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...@googlegroups.com .
> To post to this group, send email to django...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/750a97d8-87f9-42f4-997e-5810e1a5c48a%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/57f7698a-b817-4bfe-8ec3-277d1070f845%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to sent OTPA verification in mail while login with django

2019-02-22 Thread Jani Tiainen
Hi,

I wrote blog about your use case since I recently did something similar and
wanted to do it without too much trouble.

You can read about how I did it at
https://jtiai.github.io/django/2019/02/19/django-otp-simple-way.html

And don't use python standard PRNG, as docs says, it's not secure.

You can check from Django source code one option how to even try to
generate better random numbers.


On Sat, Feb 16, 2019 at 5:08 AM  wrote:

> Thank you,
> actually insted of senting a verification link i need to sent random
> numbers.how can i write the view for it.
>
> On Friday, 15 February 2019 23:56:59 UTC+5:30, Khaleel Ahmed H. M. Shariff
> wrote:
>>
>> Hi Aswani,
>> May Peace, Blessings & Mercy of Almighty God be on you!
>> You can use random number generation for OTP authentication.
>> Hope it helps.
>> Best of Luck.
>> Thanks in advance.
>>
>>
>> God Bless You!
>> God Bless India!!
>> --
>>
>> Love & Regards
>> Khaleel Ahmed H. M.
>>
>> Managing Director, Tanzanite Realty India Private Limited
>>
>> ---
>>
>> Human Life is Precious
>> Koran Surah Ma'idah Chapter 5 Verse 32:
>> If anyone killed a person, not in retaliation of murder, or (and) to
>> spread mischief in the land - it would be as if he killed all mankind, & if
>> anyone saved a life, it would be as if he saved the life of all mankind.
>>
>>
>> On Fri, Feb 15, 2019 at 6:10 PM  wrote:
>>
>>> How to sent OTPA  verification in mail while login with django
>>>
>>> --
>>> 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...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/f92f30a2-8613-4f8d-8e2c-1f8b669965aa%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/094e2487-e5b7-448f-b84b-365a74b699d1%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91odhqW6ify-mXugqhz2zNRp-5zFB6YR_7ubghgMJQBB6Yw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


how can begin to create my web application

2019-02-22 Thread Nura Bash
Nice brother hope we can share ideas and be part of my project to mentor kids 
on django let make a difference in Africa and have something big..

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e7921c81-99ff-4a72-9fe1-6486ba011359%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Providing help on a website (basic CMS for on-site site documentation)

2019-02-22 Thread RLM
Sorry to go off topic but I can recommend HuGo for simple markdown web 
pages.

Cheers
Roger

On 22/2/19 5:24 pm, Bernd Wechner wrote:
Hmmm, no-one has any thoughts here ... and I'm on ma' own reinventing 
the wheel? Surely tehre's a canonical way to provide help on Django 
website . I'm leaning toward simple flatpages app with a tinymce 
editor for them for the admin.


On Tuesday, 19 February 2019 16:26:57 UTC+11, Bernd Wechner wrote:

I'm at the point of wanting to write some help for a website, the
standard helpfile sort of scenario ;-). If that means little to
you, just a hierarchy of pages that document things and can be
linked.

I wrote page one with the Django flatpages app:

https://docs.djangoproject.com/en/2.1/ref/contrib/flatpages/


But it's not real comfy in terms of editing and maintaining. So I
looked on-line for solutions and of course nothing with "help" in
the search terms is going anywhere fast (finds me a lot of help
about Django ;-). so better keywordss needed but I have found a
pile of maybe options and am suddenly bamboozled by what is vogue,
current, maintained, has a lasting future etc.

https://github.com/klen/django_markdown


Untouched in 4 years with 22 open issues Hmm.

And this looks nice:

https://github.com/mjr27/django-flatpages-tinymce


but untouched in 7 years and 4 open issues.

Now untouched doesn't mean bad, could just be mature, stable and
works perfectly, already fro 7 years. These are the things it's
hard to gauge. But if I'm looking at TinyMCE how about:

https://github.com/aljosa/django-tinymce


on which it depends. NO bad, updated a month ago to make it work
with Django 2.1 so seems alive! But my site is math heavy so I
want equation ease so how about:

And this looks good:

https://www.codecogs.com/latex/integration/tinymce_v3/install.php


This looks maybe:

https://github.com/iCAPLyon1/tinymce-formula


This looks unconvincing:

https://github.com/foraker/tinymce_equation_editor


and do we want this:

https://github.com/Tivix/django-flatpages-nav


or this as well:

Or hang on why do this piecemeal why not use Wagtail from the word go:

http://docs.wagtail.io/en/v2.4/index.html


Or would wagtail introduce too much coordination trouble between
its templates and my sites ... etc. etc. I'm full of questions and
really just wondering, is there a canonical solution to a site
documentation page hierarchy and managing it nicely?

Regards,

Bernd.


--
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 
.

Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/750a97d8-87f9-42f4-997e-5810e1a5c48a%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/988ab087-cc9a-e2c0-67a5-a9cb8d342eaa%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


looking for team members as my technical Advisory

2019-02-22 Thread Nura Bash
Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am looking for 
Technical advisory members for my project which am about to start here in West 
Africa, is a plot project from 10 selected schools to help train  kids django..

If any one is interested I can be reach out via whatpp +23434832618 or my email 
nurabas...@gmail.com
Thank you 

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


^Django build_absolute_uri() issue : double slashes in url

2019-02-22 Thread valentin jungbluth
Hello guys,

I'm using build_absolute_uri() in order to create the beginning of my 
download link which is sent by email.

I'm working with django 1.11.20

*My code :*

I have in my code, this view which let to create my url :


class FileExport(View):

def my_export(self, request, **kwargs):
kwargs['user_email'] = request.user.email
kwargs['user'] = request.user.name
kwargs['url'] = request.build_absolute_uri(reverse('home'))
my_export.delay(query_params=request.GET, **kwargs)

return render(request, 'app/celery_export.html')



My url kwargs returns : *http://localhost:8000/*

The kwargs['url'] is used to create my download link in my message.html 
file :


Download 
link to your export file


I have my project urls.py file :

   
urlpatterns = [
url(r'^$', RedirectView.as_view(pattern_name='app:home'), name=
'home'),]


I have my urls.py app file like this :

   
app_name = 'app'

urlpatterns = [
url(r'^home$', HomeView.as_view(), name='home'),

url(r'^export/(?P[-\w]+)/(?P.*)/$', FileExport.
as_view(), name='my_export'),
url(r'^export/(?P[-\w]+)/$', FileExport.as_view(), name=
'my_export'),
url(r'^download_export/(?P.*)/$', ExportDownloadView.as_view
(), name='export_download'),
]


*My issue :*

When I receive the email, the link generated inside looks like this :

http://localhost:8000//download_export//


As you can see, I'm getting this* //* which create an issue. By removing 
one, it works.

It works on my qualification environment (distant server), but not in 
localhost. Do you have some ideas ?

Thank you !


-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5a910425-be5f-419c-a9ca-3fec62199112%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


JOIN OUR SLACK CHANNEL

2019-02-22 Thread gaurav jain
Please provide the invite link 

-- 
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.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ae4eace0-87f1-4f6a-9816-1cf5fec1d2f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.