Re: why is the static file not loading.i need solution

2018-10-20 Thread Siddharth Tamang
Have you defined your static files entry in settings.py?

On Sat, Oct 20, 2018 at 9:05 PM Obodoma Uzondu Vincent <
uobodoma...@gmail.com> wrote:

> THIS IS THE HTML FILE
> 
> login
> https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css";
> integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
> crossorigin="anonymous">
> {% load static %}
>  type="text/css">
>   
>   
>
> 
>   welcome
>   Welcome to my page!
>   Success
> 
>   
> THIS IS THE CSS FILE
> h1 {
> color: red;
>   }
>
> --
> 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/CACsKspkppG6UHwhfXko0z5DO%2BXkk9LvxLwO6dmEjkARRbm7PjA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACsKspkppG6UHwhfXko0z5DO%2BXkk9LvxLwO6dmEjkARRbm7PjA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thank you
Siddharth Tamang
AWS Certified Solutions Architect - Associate

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


Re: Template Issues

2018-10-21 Thread Siddharth Tamang
Are you getting any exception? Share with us the error that you are seeing

On Mon, Oct 22, 2018 at 12:18 AM vineeth sagar 
wrote:

> Do you mean bootstrap? STL doesn't care about that and it's not clear what
> you mean. Can you share the code so that we can help you.
>
> On Oct 22, 2018 12:14 AM, "Dennis Alabi"  wrote:
>
>> i am Building Django 2.0 Web Applications, template is not rendering with
>> boottrap3.
>>
>> --
>> 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/47edff6d-c85e-4a54-af3e-67736f2d72fe%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/47edff6d-c85e-4a54-af3e-67736f2d72fe%40googlegroups.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/CAMMZq8MU_kmUgC5TnDgYWenD8K%2BZed9RJ-Q7R3jvpGhq_qj-Lw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAMMZq8MU_kmUgC5TnDgYWenD8K%2BZed9RJ-Q7R3jvpGhq_qj-Lw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thank you
Siddharth Tamang
AWS Certified Solutions Architect - Associate

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


Re: hi, How can I deploy my first Django website ?

2019-01-15 Thread Siddharth Tamang
I hosted my django website in apache with ssl hosted in Ubuntu 18.04 with 
Postgre sql db. Learning curve is there but you will be satisfied with final 
output. Digital ocean has good notes on it. You can refer to it. By the way 
what OS are you preferring?



> On 15-Jan-2019, at 8:51 PM, Thiago Brito  wrote:
> 
> https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-04
> 
>> Em ter, 15 de jan de 2019 às 13:00,  escreveu:
>> what is the best web hosting provider for Django websites?
>> 
>> What should I learn to deploy my first Django website?
>> 
>> what is the process?
>> 
>> -- 
>> 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/9c4d2241-5660-4ee7-9dd3-08401fa57099%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/CALvrLTtUiXBbTarbtTU4m-orZPtDnGHkXryxBD7ZqEM3P9wBBg%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/FF67FC6F-3B87-455C-A28D-110539F4C153%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: any help thanks .

2019-01-31 Thread Siddharth Tamang
Yeah...please provide details about the problem

On Thu, Jan 31, 2019 at 1:31 AM Segun Gesture  wrote:

> Where are u having problem in your project
>
> On Wed, Jan 30, 2019, 8:51 PM Mohamed Hashi 
>> i have a problem in my django
>> i allready did start the project
>> i would to get help and discuss about things
>> any ready for helping me
>> this is my whatsapp number
>> 00918686910983
>> 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/CAOiYw3vO8LwRzrnDbvo4xspStLKiJVjDmBbeqVw0XDpqVinuyg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAOiYw3vO8LwRzrnDbvo4xspStLKiJVjDmBbeqVw0XDpqVinuyg%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/CA%2B%3DkCh%3DTyFGGC49YC9ihSotvDJsK_d_cVz0ALrfY%2BB%2BPvg7kYw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2B%3DkCh%3DTyFGGC49YC9ihSotvDJsK_d_cVz0ALrfY%2BB%2BPvg7kYw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thank you
Siddharth Tamang
AWS Certified Solutions Architect - Associate

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


Re: Begginner

2019-01-31 Thread Siddharth Tamang
lots of online tutorials are available.

On Thu, Jan 31, 2019 at 1:34 AM Segun Gesture  wrote:

> You have to create a virtual environment, install django and start ur app
>
> On Wed, Jan 30, 2019, 1:24 PM Frank john thompson  wrote:
>
>> how do i build webside on python using 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+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/a9b4d604-f34e-494e-a156-8170aa1e9a75%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/a9b4d604-f34e-494e-a156-8170aa1e9a75%40googlegroups.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/CA%2B%3DkChmfWaJ9t7t0DCEgk5ZC5tB1RBPqu4Z_%3D2Kybancf0do5w%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2B%3DkChmfWaJ9t7t0DCEgk5ZC5tB1RBPqu4Z_%3D2Kybancf0do5w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thank you
Siddharth Tamang
AWS Certified Solutions Architect - Associate

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


Re: REG: Why my django email settings not sending email notifications?

2019-02-17 Thread Siddharth Tamang
can you check if you your email server is somehow blocking your emails?
Have you enabled your debug settings ON?

On Sun, Feb 17, 2019 at 2:49 PM 'Amitesh Sahay' via Django users <
django-users@googlegroups.com> wrote:

> I have created a registration page that sends an email notification on
> successful registration. I do have my email notification in place. But it
> doesn't seem to be working, neither it is throwing any error. Below is the
> code snippet.
> views.py
>
> def register(request):
> validators = [MinimumLengthValidator, NumberValidator, UppercaseValidator]
> if request.method == 'POST':
> first_name = request.POST['first_name']
> last_name = request.POST['last_name']
> email = request.POST['email']
> username = request.POST['username']
> password = request.POST['password']
> try:
> for validator in validators:
> validator().validate(password)
> except ValueError as e:
> messages.error(request, str(e))
> return redirect('register')
> password2 = request.POST['password2']
>
> # check if the password match
> if password == password2:
>
> if User.objects.filter(username=username).exists():
> messages.error(request, 'username already exist')
> return redirect('register')
> else:
> if User.objects.filter(email=email).exists():
> messages.error(request, 'Registration Failed - Try 
> different email address')
> return redirect('register')
> else:
> user = User.objects.create_user(username=username, 
> password=password, email=email,
> first_name=first_name, 
> last_name=last_name)
> user.save()
> messages.success(request, 'Registration complete, please 
> proceed to login')
> return redirect('register')
> else:
> messages.error(request, 'password dose not match')
> return redirect('register')
> else:
> return render(request, 'ACCOUNTS/register.html')
>
> def ThankYou(request, register):
> if request.method == 'POST':
> if register.is_valid():
> save_it = register.save(commit=False)
> save_it.save()
> subject = 'Registration successful'
> message = 'Thank you for registration, please continue with 
> the login'
> from_email = settings.EMAIL_HOST_USER
> to_list = [save_it.email, settings.EMAIL_HOST_USER]
> try:
> send_mail(
> subject,
> message,
> from_email,
> [to_list],
> fail_silently=False,
> )
> except ValueError:
> return HttpResponse('Invalid header found.')
> else:
> messages.success(request, 'thank you ')
> return redirect('register')
> else:
> return redirect('index')
>
> Below is my settings.py
>
> EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
> EMAIL_USE_TLS = False
> EMAIL_HOST = 'smtp.gmail.com'
> EMAIL_PORT = 587
> EMAIL_HOST_USER = 'ami.sa...@gmail.com'
> EMAIL_HOST_PASSWORD = '123'
> DEFAULT_FROM_EMAIL = 'ami.sa...@gmail.com'
>
> I have gone through a couple of Stackoverflow posts and made some changes
> as suggested. But they do not seem to have any effect. Below is one of the
> link.
>
> Django Doesn't Send Email Notifications
> <https://stackoverflow.com/questions/47968231/django-doesnt-send-email-notifications>
> Regards,
> Amitesh Sahay
> *91-750 797 8619*
>
> --
> 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/1493971974.5

Re: REG: Why my django email settings not sending email notifications?

2019-02-17 Thread Siddharth Tamang
gt; EMAIL_USE_TLS = False
>>> EMAIL_HOST = 'smtp.gmail.com'
>>> EMAIL_PORT = 587
>>> EMAIL_HOST_USER = 'ami@gmail.com'
>>> EMAIL_HOST_PASSWORD = '123'
>>> DEFAULT_FROM_EMAIL = 'ami@gmail.com'
>>>
>>> I have gone through a couple of Stackoverflow posts and made some
>>> changes as suggested. But they do not seem to have any effect. Below is one
>>> of the link.
>>>
>>> Django Doesn't Send Email Notifications
>>> <https://stackoverflow.com/questions/47968231/django-doesnt-send-email-notifications>
>>> Regards,
>>> Amitesh Sahay
>>> *91-750 797 8619*
>>>
>>> --
>>> 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/1493971974.505339.1550394996512%40mail.yahoo.com
>>> <https://groups.google.com/d/msgid/django-users/1493971974.505339.1550394996512%40mail.yahoo.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> Thank you
>> Siddharth Tamang
>> AWS Certified Solutions Architect - Associate
>>
> --
> 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/b862bb86-bca6-429a-880d-bb9ca5db8e14%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/b862bb86-bca6-429a-880d-bb9ca5db8e14%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thank you
Siddharth Tamang
AWS Certified Solutions Architect - Associate

-- 
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/CADBOuds9PVFp2QKA0r%3DaY9KGe-Z12KK%3DoTTr%2B_-pzbOom2vJ8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: REG: Why my django email settings not sending email notifications?

2019-02-18 Thread Siddharth Tamang
t;> link.
>>
>> Django Doesn't Send Email Notifications
>> <https://stackoverflow.com/questions/47968231/django-doesnt-send-email-notifications>
>> Regards,
>> Amitesh Sahay
>> *91-750 797 8619*
>>
> --
> 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/bfc6ce59-182a-421f-826c-2e322d4b20a0%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/bfc6ce59-182a-421f-826c-2e322d4b20a0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thank you
Siddharth Tamang
AWS Certified Solutions Architect - Associate

-- 
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/CADBOudu8doUE%2BePmo%3DaT2ROjciEuJgDRm-25hpOKravsWyBHew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pagination - Not Working

2019-02-18 Thread Siddharth Tamang
Are you trying pagination using JavaScript or Django?

On Mon, Feb 18, 2019 at 11:47 PM Aakash Baranwal 
wrote:

> Hello Everyone,
>
> I am new to Django and working towards developing a web app where 10 posts
> appear at a time with a "Load More" option given at last which when clicked
> shows the next 10 posts. I am not able to find what is going wrong with the
> code.
>
> Also, it is not showing the character counter for the textbox, so kindly
> help me with that as well.
>
> I am sending the screenshot of the code, pagination.py file.
>
> 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 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/CALr9hQ02EKRB%3DUjPfgjX1Q1%2BG_QxxBovM7Xv_J9Y-Q%3DiwMLo_A%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALr9hQ02EKRB%3DUjPfgjX1Q1%2BG_QxxBovM7Xv_J9Y-Q%3DiwMLo_A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thank you
Siddharth Tamang
AWS Certified Solutions Architect - Associate

-- 
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/CADBOudsyrwDg%3DzcG3SgFMVnosOUtym%2BeR3d7UPXEa9GnRz7Opw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pagination - Not Working

2019-02-18 Thread Siddharth Tamang
Please send your views.py. You must have a home page or index page where
you want to paginate records.

On Tue, Feb 19, 2019 at 11:23 AM Aakash Baranwal 
wrote:

> I have also used Ajax with that. It's load more button is not working, it
> is showing the 10 posts which is the limit I set in the beginning, but not
> going beyond that.
>
> On Tue, Feb 19, 2019 at 11:13 AM Siddharth Tamang <
> tamangsiddhart...@gmail.com> wrote:
>
>> Are you trying pagination using JavaScript or Django?
>>
>> On Mon, Feb 18, 2019 at 11:47 PM Aakash Baranwal 
>> wrote:
>>
>>> Hello Everyone,
>>>
>>> I am new to Django and working towards developing a web app where 10
>>> posts appear at a time with a "Load More" option given at last which when
>>> clicked shows the next 10 posts. I am not able to find what is going wrong
>>> with the code.
>>>
>>> Also, it is not showing the character counter for the textbox, so kindly
>>> help me with that as well.
>>>
>>> I am sending the screenshot of the code, pagination.py file.
>>>
>>> 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 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/CALr9hQ02EKRB%3DUjPfgjX1Q1%2BG_QxxBovM7Xv_J9Y-Q%3DiwMLo_A%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CALr9hQ02EKRB%3DUjPfgjX1Q1%2BG_QxxBovM7Xv_J9Y-Q%3DiwMLo_A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> Thank you
>> Siddharth Tamang
>> AWS Certified Solutions Architect - Associate
>>
>> --
>> 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/CADBOudsyrwDg%3DzcG3SgFMVnosOUtym%2BeR3d7UPXEa9GnRz7Opw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CADBOudsyrwDg%3DzcG3SgFMVnosOUtym%2BeR3d7UPXEa9GnRz7Opw%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/CALr9hQ1CRSweCoycg0AfyiwG9LFb%3DZ2NL7oW7BMPuBg8qk%2B2GA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALr9hQ1CRSweCoycg0AfyiwG9LFb%3DZ2NL7oW7BMPuBg8qk%2B2GA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thank you
Siddharth Tamang
AWS Certified Solutions Architect - Associate

-- 
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/CADBOudtmJpskP-K_5%3D24BOXExeNq0%3DreM4nQZbWLaVrJVo0k8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pagination - Not Working

2019-02-19 Thread Siddharth Tamang
Can you try this in your views.py?

from django.core.paginator import EmptyPage, PageNotAnInteger, Paginator

views.py

feedTextAll = feedText.objects.order_by('-feedTexDate')
pages = Paginator(feedTextAll,5)
pageNum = request.GET.get('page')
feedtext = pages.get_page(pageNum)
return render(request, 'index.html',{'feedtext':feedtext})


and then in your html file where you want to show paginated records

{% for feedtext in feedtext%}

>>>> 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/CALr9hQ02EKRB%3DUjPfgjX1Q1%2BG_QxxBovM7Xv_J9Y-Q%3DiwMLo_A%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CALr9hQ02EKRB%3DUjPfgjX1Q1%2BG_QxxBovM7Xv_J9Y-Q%3DiwMLo_A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>> --
>>>> Thank you
>>>> Siddharth Tamang
>>>> AWS Certified Solutions Architect - Associate
>>>>
>>>> --
>>>> 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/CADBOudsyrwDg%3DzcG3SgFMVnosOUtym%2BeR3d7UPXEa9GnRz7Opw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CADBOudsyrwDg%3DzcG3SgFMVnosOUtym%2BeR3d7UPXEa9GnRz7Opw%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/CALr9hQ1CRSweCoycg0AfyiwG9LFb%3DZ2NL7oW7BMPuBg8qk%2B2GA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CALr9hQ1CRSweCoycg0AfyiwG9LFb%3DZ2NL7oW7BMPuBg8qk%2B2GA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> Thank you
>> Siddharth Tamang
>> AWS Certified Solutions Architect - Associate
>>
>> --
>> 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/CADBOudtmJpskP-K_5%3D24BOXExeNq0%3DreM4nQZbWLaVrJVo0k8Q%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CADBOudtmJpskP-K_5%3D24BOXExeNq0%3DreM4nQZbWLaVrJVo0k8Q%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/grou

Re: hi guys i have been having trouble setting up a login and registration page, can anyone please help me

2019-03-12 Thread Siddharth Tamang
Can you be specific what errors you are getting?

On Tue, Mar 12, 2019 at 8:25 PM abhishek jayalal <
abhishekjayalal...@gmail.com> wrote:

>
> --
> 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/c070e2bd-a38a-47fa-9da6-8e6a2951955f%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/c070e2bd-a38a-47fa-9da6-8e6a2951955f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thank you
Siddharth Tamang
AWS Certified Solutions Architect - Associate

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