ModelForm FileField Not Effecting the CSS

2019-03-25 Thread Irfan Khan
Hi, 

I have enquiry form developed in the MODELFORM, after rendering to the 
templates i defined the div tag in the put this form and applied the CSS 
effects.but the issue is all fields except fiel field are in the proper 
alignment, can any one please guide me to make this filefield also in 
proper alignement  pls find the attached file


-- 
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/0af7d223-40c5-4d2b-8dfe-166d1b62bd74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Convertingg rendered Model Data in HTML to PDF USING XHTML2PDF

2019-04-18 Thread Irfan Khan
hi, all
can any one please guide me how to covert the rendered data from models in 
html to pdf 

for example i have developed application and in that implemented search 
field to get the data from the database,till now it now fine but i have 
used xhtml2pdf library to convert 
i can see there only some of context passed in views only converting.
please guide me how to implement.

-- 
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/03530d36-a49f-40ec-b623-dee9138387e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Convertingg rendered Model Data in HTML to PDF USING XHTML2PDF

2019-04-18 Thread Irfan Khan
thanks for your response Matthew Pava 

Not Exactly getting using xhtml2pdf for converting model data rendered in 
html to pdf 

i have browsed but not exactly getting, can any one please guide me, 



On Thursday, 18 April 2019 20:18:59 UTC+5:30, Irfan Khan wrote:
>
> hi, all
> can any one please guide me how to covert the rendered data from models in 
> html to pdf 
>
> for example i have developed application and in that implemented search 
> field to get the data from the database,till now it now fine but i have 
> used xhtml2pdf library to convert 
> i can see there only some of context passed in views only converting.
> please guide me how to implement.
>
>

-- 
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/217654ee-67fe-4799-b8d4-e9372b4ca63b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ReportLab or Xhtml2pdf Please can any one guide me to convert the rendered in html to pdf

2019-04-19 Thread Irfan Khan
hi,
i stucked in converting the pdf file from html
can an one suggest me even any other possibility instead of using python 
library 

-- 
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/6862bdc2-bb4f-4253-99de-7606a6b5ac2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Creating pdf in python

2019-06-27 Thread Irfan Khan
I have used *xhtml2pdf* library.
Here  https://djangopackages.org/grids/g/pdf/
This one can help you which is suitable for Requiremnt

On Thu, 27 Jun 2019 at 8:16 PM, Django Dojo  wrote:

> Hello everyone,
>
> I have a pdf template and I need different Individuals(s) to fill out
> different sections of the document on the web using online form(s). Is
> there an Django package that will allow me to do this?
>
> Ex: end user will go to a web form and fill out information which will be
> imported into the pdf document.
>
> 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/8ba9b35f-4d64-40e3-a30c-19cb473656f6%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/CALKGViq18CDy1vMG7fLiscti3NMMaFxXQVPoqEauM9dUEOUbcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Form validations

2019-07-11 Thread Irfan Khan
Dear members,
I wanted to validate the form which contains the name, phone number,
address,email, etc..,
I have developed and tested it if we give any character it’s saving to
database table.so I wanted to validate the every field for example
In name field it should take only alphabets,
And in phone number field it should take only numbers like
Can any one please guide me which is best practice to perform
Thanks in advance

-- 
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/CALKGViqQgLhqAzPgG5S-sz4ZdwA2z_q6KeTUQoxtNrzrrA21sQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Form validations

2019-07-11 Thread Irfan Khan
Yeah currently I do have modelforms but I need to know using regular
expression can we done

On Thu, 11 Jul 2019 at 6:36 PM, Jani Tiainen  wrote:

> Hi.
>
> Usually you validate user input and by using Forms or ModelForms.
>
>
> to 11. heinäk. 2019 klo 12.50 Irfan Khan  kirjoitti:
>
>> Dear members,
>> I wanted to validate the form which contains the name, phone number,
>> address,email, etc..,
>> I have developed and tested it if we give any character it’s saving to
>> database table.so I wanted to validate the every field for example
>> In name field it should take only alphabets,
>> And in phone number field it should take only numbers like
>> Can any one please guide me which is best practice to perform
>> Thanks in advance
>>
>> --
>> 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/CALKGViqQgLhqAzPgG5S-sz4ZdwA2z_q6KeTUQoxtNrzrrA21sQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CALKGViqQgLhqAzPgG5S-sz4ZdwA2z_q6KeTUQoxtNrzrrA21sQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> 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/CAHn91oephj3rT2JoJZaGk5MtSfdJV0Bcb1j9jngE99YW5VyFng%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAHn91oephj3rT2JoJZaGk5MtSfdJV0Bcb1j9jngE99YW5VyFng%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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/CALKGViqbjbsdg0tFjZLAkrLazd2YMVQohj66eMMDSwjA-d0chg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Django s3 video files displaying to templates

2020-03-11 Thread Irfan Khan
Hi all,

Can any one guide me how to display uploaded video files in S3 to django
templates.

Thanks in advance for your help

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVira3H-RyUUvp34uMyAQwKcTogSk84n93OUdUMz%2Bz2ZFvg%40mail.gmail.com.


User Athentication Issue

2020-03-18 Thread Irfan Khan
hi every one,

as  implemented the user authentication i have tested it working fine. but
one issue
is when ever we logged into the portal then if we again clicks on back
option in browser it going back to login page.how to prevent it.

thanks in advance.

With Regards,
*Irfan khan*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVioaLT8gCpH2iwniyefibqMG0QDWkShNVb_jdjfjSQ1U-Q%40mail.gmail.com.


Re: User Athentication Issue

2020-03-21 Thread Irfan Khan
i am not able to find, can u please suggest any documentation or tutorial
for that
With Regards,
*Irfan khan*





On Wed, 18 Mar 2020 at 17:38, Integr@te System 
wrote:

> Hi Irfan,
>
> Plz try to consider cookies with connection session on this user for which
> other happen.
>
> On Wed, Mar 18, 2020, 15:56 Irfan Khan  wrote:
>
>> hi every one,
>>
>> as  implemented the user authentication i have tested it working fine.
>> but one issue
>> is when ever we logged into the portal then if we again clicks on back
>> option in browser it going back to login page.how to prevent it.
>>
>> thanks in advance.
>>
>> With Regards,
>> *Irfan khan*
>>
>>
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CALKGVioaLT8gCpH2iwniyefibqMG0QDWkShNVb_jdjfjSQ1U-Q%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CALKGVioaLT8gCpH2iwniyefibqMG0QDWkShNVb_jdjfjSQ1U-Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAP5HUWpzRf%2BLagaGezeCAY2km9HGGSR4AHFui3NZYkm%3DUyPBBw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAP5HUWpzRf%2BLagaGezeCAY2km9HGGSR4AHFui3NZYkm%3DUyPBBw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVirTYzYNZQ4juVKsE%3DOyR_cV-QXEngy6vg4%2BzdTN8y1seQ%40mail.gmail.com.


Re: User Athentication Issue

2020-03-22 Thread Irfan Khan
Thank you. got it now

With Regards,
*Irfan khan*





On Sun, 22 Mar 2020 at 03:16, Juan J. Moreno Piña <
prof.juanj.mor...@gmail.com> wrote:

> I would suggest you to look at Django user authentication , please
> chech tis documentation to understand its approach.
>
> https://developer.mozilla.org/es/docs/Learn/Server-side/Django/Authentication
>
>
> 2020-03-21 15:19 GMT-04:00, Irfan Khan :
> > i am not able to find, can u please suggest any documentation or tutorial
> > for that
> > With Regards,
> > *Irfan khan*
> >
> >
> >
> >
> >
> > On Wed, 18 Mar 2020 at 17:38, Integr@te System  >
> > wrote:
> >
> >> Hi Irfan,
> >>
> >> Plz try to consider cookies with connection session on this user for
> >> which
> >> other happen.
> >>
> >> On Wed, Mar 18, 2020, 15:56 Irfan Khan  wrote:
> >>
> >>> hi every one,
> >>>
> >>> as  implemented the user authentication i have tested it working fine.
> >>> but one issue
> >>> is when ever we logged into the portal then if we again clicks on back
> >>> option in browser it going back to login page.how to prevent it.
> >>>
> >>> thanks in advance.
> >>>
> >>> With Regards,
> >>> *Irfan khan*
> >>>
> >>>
> >>>
> >>> --
> >>> 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 view this discussion on the web visit
> >>>
> https://groups.google.com/d/msgid/django-users/CALKGVioaLT8gCpH2iwniyefibqMG0QDWkShNVb_jdjfjSQ1U-Q%40mail.gmail.com
> >>> <
> https://groups.google.com/d/msgid/django-users/CALKGVioaLT8gCpH2iwniyefibqMG0QDWkShNVb_jdjfjSQ1U-Q%40mail.gmail.com?utm_medium=email&utm_source=footer
> >
> >>> .
> >>>
> >> --
> >> 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 view this discussion on the web visit
> >>
> https://groups.google.com/d/msgid/django-users/CAP5HUWpzRf%2BLagaGezeCAY2km9HGGSR4AHFui3NZYkm%3DUyPBBw%40mail.gmail.com
> >> <
> https://groups.google.com/d/msgid/django-users/CAP5HUWpzRf%2BLagaGezeCAY2km9HGGSR4AHFui3NZYkm%3DUyPBBw%40mail.gmail.com?utm_medium=email&utm_source=footer
> >
> >> .
> >>
> >
> > --
> > 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 view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/django-users/CALKGVirTYzYNZQ4juVKsE%3DOyR_cV-QXEngy6vg4%2BzdTN8y1seQ%40mail.gmail.com
> .
> >
>
>
> --
>
> *M.Sc. Juan J. Moreno*
> En Venezuela (Maracaibo)
> Skype:studiom2j
> Tel (Italy): +39 02320628565
> NB: Telf. mobil (en reparacion)
>
> <https://www.bitrix24.net/id14591859/>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMf5Kvw2rAWZN5_5Jacp-dc6k_qQismjAHeO9hN2kOoAs9gTLw%40mail.gmail.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVir9PHiEZpUB%2BPDico0bGR4VU_LpG5f3EfKhK5pa5A3iZg%40mail.gmail.com.


Getting one view function context into another view

2020-04-01 Thread Irfan Khan
Hi all,

I have detailview template there detailview view all description like
title. Date etc..,
>From that function detailview I wanted to get that title into another view
Can any one guide me

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGViotTp_cbZgvOZ-rKe4K0Gq0529_VRZxNs2uK-NnExaBrw%40mail.gmail.com.


Re: Help passing the url

2020-04-10 Thread Irfan Khan
Hi,

Need to pass id in function as parameter as well as in that post obj


On Tue, 7 Apr 2020 at 1:23 AM, Luka Nik  wrote:

> How do I pass it exactly?
>
> On Mon, 6 Apr 2020, 9:41 pm ola neat,  wrote:
>
>> You need to add the id as argument in the function
>>
>> On Mon, Apr 6, 2020, 19:17 Luka Nik  wrote:
>>
>>> How can I alter this post_detail function:
>>>
>>>
>>> def post_detail(request):
>>>
>>> post = get_object_or_404(Post)
>>> comments = post.comments.filter(active=True)
>>> new_comment = None
>>> if request.method == 'POST':
>>> comment_form = CommentForm(data=request.POST)
>>> if comment_form.is_valid():
>>> new_comment = comment_form.save(commit=False)
>>> new_comment.post = post
>>> new_comment.save()
>>> else:
>>> comment_form = CommentForm()
>>>
>>> return render(request, 'blog/post_detail.html', {'post': post,
>>>  'comments': comments,
>>>  'new_comment': 
>>> new_comment,
>>>  'comment_form': 
>>> comment_form
>>>  })
>>>
>>>
>>>
>>> So this URL line can read the function?
>>>
>>> path('post//', views.post_detail, name='post-detail'),
>>>
>>>
>>> Note:
>>> In the Post model get_absolute_url is provided for returning the pk
>>>
>>>
>>> Thanks in advance
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAMqindvdzOxxuZSC41Z%3D-TaQianws9jSDvZEevDLTgPw6mFPiw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAHLKn73Evou6KsXQGFNYA95AXPLjraaP_mXOTeYPsCOAobHY1w%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMqindsi%2Be0eRwjST3r68rNUa%2B0qRc%2Behf6%2B8g66im7MUVq8Uw%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVirHC%3Dmp3L0UZTeOrPFWug0pfP8_-P_Owsf%3D_KZAtA5xFg%40mail.gmail.com.


Django models for user

2020-05-09 Thread Irfan Khan
i am working on a LMS project, so if a tutor signed up and he can upload
his tutorials from his account.
And  when rendering to template each user should have their list of
tutorials. as well as he will upload new tutorials.

How to design it dynamically. Please guide me.

Thank you in advance.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVirPguVcOZpy6Y5xgFo5j9rzrCnD-P_p0YPYY32ZgFeO0A%40mail.gmail.com.


webex / zoom meetings Integrations in django

2020-06-10 Thread Irfan Khan
Hi Everyone,

I wanted to integrate webex or zoom meetings Into my django application,
can any one please guide me or suggest docs.

target : i have one linke on template which is if the end user click on
that link he can join the session/ meeting.



With Regards,
*Irfan khan*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVir930sJ53HbxOt1tSms5YEwEA-W_eNHjz55X_Mn6n6Hrw%40mail.gmail.com.


Re: load static in css file

2020-07-30 Thread Irfan Khan
{% static 'imag.jpg' %}   instead of this try

{% static “images/imag.png” %}

On Thu, 30 Jul 2020 at 6:07 PM, Chander shekhar  wrote:

> I am unable to fetch images from css file .
> I have used {% load static %}
> {% static 'imag.jpg' %}
> buti can't fetch.console is saying image not found.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/554cbaf1-3b94-40b4-a0f1-efe0bd3f24ceo%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVio%3DAsCafgcd-zfjBb2of-RWbPaTwwGjf7sXbjstgFdM6Q%40mail.gmail.com.


Re: Assistance for deploying django app to heroku

2021-04-23 Thread Irfan Khan
check this one
try to run the console
$ python manage.py sqlsequencereset your_app_name
it will give you the psql queries. run those queries on PSQL console and
then try to  run loaddata.

check below link

https://stackoverflow.com/questions/64251547/django-resync-autoincrementing-pk-with-restored-database


With Regards,
*Irfan khan*





On Sat, 24 Apr 2021 at 00:23, Kasper Laudrup  wrote:

> On 23/04/2021 20.41, Ejike Enyinnaya wrote:
> > I did a git add ., git commit -m and git push heroku master
>
> Not sure if it's related, but it's possible: This is not how you should
> use revision control (git).
>
> You should keep your source files under revision control, not just
> blindly add everything and committing it with an empty commit message.
> Then you might as well not use any kind of revision control at all.
>
> It might be slightly off topic and not related to your problem, but on
> the other hand, there's a huge chance that you have added a bunch of
> stuff like your database file and you have zero way of tracking what you
> have actually changed.
>
> Not sure if this has every worked for you, but if you have a similar
> problem and it used to work and then suddenly didn't, using revision
> control like git can be an enormous help.
>
> Do yourself a huge favor and learn how to use revision control.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4ebee094-cc84-ce01-ddfd-11ca231960d6%40stacktrace.dk
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVip4zW6NTjTRGrg4d8OYEwjoAC7Q4FzqF6FDmAGTvNXNfQ%40mail.gmail.com.


Saving data from query to another table

2019-12-02 Thread Irfan Khan
Hi all,

Requirement : I have two tables. In first table I have some data which is
already stored. And now I have created one form for search data from that
existing data table, when result found   I wanted to store that data to
another table, can any one pls guide my easy way to overcome.
Thank you in advance

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGViryMdxPBxmi-kY9YNM_VL0fs0UPxcv%2Bmewb96U%2BBPNawA%40mail.gmail.com.


Re: Unique Field

2020-01-21 Thread Irfan Khan
You can use nano library to generate unique numbers or characters

On Tue, 21 Jan 2020 at 8:41 PM, Soumen Khatua 
wrote:

> Hi Folks,
>
> Is their any other library or module is available except UUID which can
> generate unique number in python?
>
> As I mentioned earlier I want to use random unique number in django for
> billion user. Just like account number,please tell me any unique module.
>
> Thank You In advance
>
> Thank You
>
> Regards,
> Soumen
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPUw6WZXQMhk8k25LSPM_BfYhKVvQ3pVFRu3f4nrvfYZ3%2BheaQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGViqxYsC%2Birmt7SnT9q90Cpzvgu3T0sP-8DXkorM%3D%2B5v1nw%40mail.gmail.com.


Re: Unique Field

2020-01-21 Thread Irfan Khan
Here you can check this link for reference

https://pypi.org/project/nanoid/


On Tue, 21 Jan 2020 at 9:02 PM, Soumen Khatua 
wrote:

> Could you share any documentation link,please??
>
> On Tue, 21 Jan 2020, 20:45 Irfan Khan,  wrote:
>
>> You can use nano library to generate unique numbers or characters
>>
>> On Tue, 21 Jan 2020 at 8:41 PM, Soumen Khatua 
>> wrote:
>>
>>> Hi Folks,
>>>
>>> Is their any other library or module is available except UUID which can
>>> generate unique number in python?
>>>
>>> As I mentioned earlier I want to use random unique number in django for
>>> billion user. Just like account number,please tell me any unique module.
>>>
>>> Thank You In advance
>>>
>>> Thank You
>>>
>>> Regards,
>>> Soumen
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAPUw6WZXQMhk8k25LSPM_BfYhKVvQ3pVFRu3f4nrvfYZ3%2BheaQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAPUw6WZXQMhk8k25LSPM_BfYhKVvQ3pVFRu3f4nrvfYZ3%2BheaQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CALKGViqxYsC%2Birmt7SnT9q90Cpzvgu3T0sP-8DXkorM%3D%2B5v1nw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CALKGViqxYsC%2Birmt7SnT9q90Cpzvgu3T0sP-8DXkorM%3D%2B5v1nw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPUw6WYRVV9WNJeFk77nMHKn%2BWz3KdKBx%2Bmq4kj9aYWxc9xoCg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAPUw6WYRVV9WNJeFk77nMHKn%2BWz3KdKBx%2Bmq4kj9aYWxc9xoCg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVirtTz_nXAV%3DKqOKpPUL6T4d4T9gt6kbQ0UWnaOV3UW%3DOA%40mail.gmail.com.


Re: Unique Field

2020-01-21 Thread Irfan Khan
No I didn’t check that one, it will generate unique id’s for you but how
many you wanted to generate you must write code explicitly with some logic

On Wed, 22 Jan 2020 at 1:43 AM, Soumen Khatua 
wrote:

> Irfan- Are you sure it will generate unique id for 10 billion people.
>
> On Wed, 22 Jan 2020, 01:39 Irfan Khan,  wrote:
>
>> Here you can check this link for reference
>>
>> https://pypi.org/project/nanoid/
>>
>>
>> On Tue, 21 Jan 2020 at 9:02 PM, Soumen Khatua 
>> wrote:
>>
>>> Could you share any documentation link,please??
>>>
>>> On Tue, 21 Jan 2020, 20:45 Irfan Khan,  wrote:
>>>
>>>> You can use nano library to generate unique numbers or characters
>>>>
>>>> On Tue, 21 Jan 2020 at 8:41 PM, Soumen Khatua <
>>>> soumenkhatua...@gmail.com> wrote:
>>>>
>>>>> Hi Folks,
>>>>>
>>>>> Is their any other library or module is available except UUID which
>>>>> can generate unique number in python?
>>>>>
>>>>> As I mentioned earlier I want to use random unique number in django
>>>>> for billion user. Just like account number,please tell me any unique 
>>>>> module.
>>>>>
>>>>> Thank You In advance
>>>>>
>>>>> Thank You
>>>>>
>>>>> Regards,
>>>>> Soumen
>>>>>
>>>>> --
>>>>> 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 view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/CAPUw6WZXQMhk8k25LSPM_BfYhKVvQ3pVFRu3f4nrvfYZ3%2BheaQ%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CAPUw6WZXQMhk8k25LSPM_BfYhKVvQ3pVFRu3f4nrvfYZ3%2BheaQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> 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 view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/CALKGViqxYsC%2Birmt7SnT9q90Cpzvgu3T0sP-8DXkorM%3D%2B5v1nw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CALKGViqxYsC%2Birmt7SnT9q90Cpzvgu3T0sP-8DXkorM%3D%2B5v1nw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAPUw6WYRVV9WNJeFk77nMHKn%2BWz3KdKBx%2Bmq4kj9aYWxc9xoCg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAPUw6WYRVV9WNJeFk77nMHKn%2BWz3KdKBx%2Bmq4kj9aYWxc9xoCg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CALKGVirtTz_nXAV%3DKqOKpPUL6T4d4T9gt6kbQ0UWnaOV3UW%3DOA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CALKGVirtTz_nXAV%3DKqOKpPUL6T4d4T9gt6kbQ0UWnaOV3UW%3DOA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPUw6WYMJb%3DfZ3si2ryTnGDVgoxgvomzeiLkxN8ruKnwZC7Pbw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAPUw6WYMJb%3DfZ3si2ryTnGDVgoxgvomzeiLkxN8ruKnwZC7Pbw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVioUsWvnJa%3D5kggU9CJkAq5CN1DBTwDe_JacdhKaF8_%3DEQ%40mail.gmail.com.


Re: installation of django

2020-02-11 Thread Irfan Khan
Are you getting any error messages?

On Tue, 11 Feb 2020 at 9:43 PM, paarull shukla 
wrote:

> heloo guys i m not able to install django please help me it .i m facing
> issue last 10 days . i m getting collecting django after tht installation
> not started
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/879c4e25-5ff9-4858-bf6d-b794bef3aed7%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVioTRShH5x6UdqwyT2eCY3UVQ%2BZvP4%2BVdaFE0_H6np5mMg%40mail.gmail.com.


Re: Python Django Training

2020-02-21 Thread Irfan Khan
Hi
How you conducting the sessions and please add me into the group

On Sat, 1 Feb 2020 at 7:12 PM, Srikanth K  wrote:

> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take
> up any Python , Django Training (online Preferrable or Weekends). Members
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKGVio8O2efruksWSwh3H_Vo0viO5LBQ%2BK1HTi-rBsoeuHeLA%40mail.gmail.com.