Re: Converting from AutoField to BigAutoField

2021-05-18 Thread Pankaj Jangid
Mike Dewhirst  writes:

> On 18/05/2021 3:18 pm, Mike Dewhirst wrote:
>> On 18/05/2021 3:14 pm, Pankaj Jangid wrote:
>>> I have an application from 3.1.x and in 3.2 we have to explicitly state
>>> this to make it compatible i.e. without any warning:
>>>
>>> DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
>>>
>>> Now suppose I want to change this to BigAutoField. What all changes I’ll
>>> have to make in the application. Or do I just need to run migration?
>>
>
> Should have said make the change in settings first ...
>
> DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
>
>> Just makemigrations and migrate.

Thanks Mike.

Regards ~Pankaj

-- 
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/m25yzfs59k.fsf%40codeisgreat.org.


Re: Project

2021-05-18 Thread Anant Sakhare
Can you allow me to learn in group?..
I'm not expert in django but I have interested in it.
I have. Hands-on experience using python for data mining.

Regards,
Anant

On Wed 19 May, 2021, 12:58 AM Kasper Laudrup,  wrote:

> On 18/05/2021 19.51, Gunjan shrimali wrote:
> > Is django single page application?
>
> No.
>
> > And can be completely work with react, angular??
>
> Yes.
>
> Also learn how to use a mailing list and/or Google groups:
>
>
> https://www.dummies.com/education/internet-basics/how-to-post-messages-in-google-groups/
>
> 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/784c4137-375e-2667-bb7f-a8afccf288df%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/CAMZoGKnSYqo-uRTn9R6nzzBTGPGt1VsxucVrBo0O%3D%3D1H7zYtZg%40mail.gmail.com.


django utils Integrity error

2021-05-18 Thread Peter Kirieny
am adding class category in the models.py and adding it as a foreign key in
the products model but i get this error while migrating
somebody, please help
here is the code


class Category(models.Model):
name = models.CharField(max_length=50)

def __str__(self):
return self.name


class Product(models.Model):
name = models.CharField(max_length=200)
category = models.ForeignKey(Category, on_delete=models.CASCADE)
price = models.FloatField()
digital = models.BooleanField(default=False, null=True, blank=True)
image = models.ImageField(null=True, blank=True)

def __str__(self):
return self.name

-- 
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/CAL8t8eqJsenwOmJA%3DO_pdcb8Vk4KnjSijoiUNe5H%3DRpPO6%3D32A%40mail.gmail.com.


Re: Attribute error

2021-05-18 Thread Peter Kirieny
tanks for this, it was helpfull


On Thu, 13 May 2021 at 15:31, Ryan Nowakowski  wrote:

> It's likely that your instance of OrderItem has a product field that's
> null.
>
> On May 12, 2021 3:50:42 AM CDT, Peter Kirieny 
> wrote:
> >can somebody help with this please, am building an ecommerce web and
> >when i
> >want to view my cart i get this error
> >AttributeError: 'NoneType' object has no attribute 'price'
> >
> >here is my models.py
> >class OrderItem(models.Model):
> >
> >product = models.ForeignKey(Product, on_delete=models.SET_NULL,
> >null=True)
> > order = models.ForeignKey(Order, on_delete=models.SET_NULL, null=True)
> >quantity = models.IntegerField(default=0, null=True, blank=True)
> >date_added = models.DateTimeField(auto_now_add=True)
> >
> >@property
> >def get_total(self):
> >total = self.product.price * self.quantity
> >return total
> >
> >
> >
> >AttributeError at /cart/
> >
> >'NoneType' object has no attribute 'price'
> >
> >Request Method: GET
> >Request URL: http://127.0.0.1:8000/cart/
> >Django Version: 3.2
> >Exception Type: AttributeError
> >Exception Value:
> >
> >'NoneType' object has no attribute 'price'
> >
> >Exception Location:
> >C:\Users\Admin\PycharmProject\MyProject\Ecommerce\shop\models.py, line
> >71,
> >in get_total
> >Python Executable:
> >C:\Users\Admin\PycharmProject\MyProject\venv\Scripts\python.exe
> >Python Version: 3.8.2
> >Python Path:
> >
> >['C:\\Users\\Admin\\PycharmProject\\MyProject\\Ecommerce',
>
> >'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38\\python38.zip',
> > 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38\\DLLs',
> > 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38\\lib',
> > 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38',
> > 'C:\\Users\\Admin\\PycharmProject\\MyProject\\venv',
> >'C:\\Users\\Admin\\PycharmProject\\MyProject\\venv\\lib\\site-packages']
> >
> >Server time: Wed, 12 May 2021 08:44:09 +
>
> --
> 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/FDF6B1C2-9134-43D2-8057-EA3BCF14C2A1%40fattuba.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/CAL8t8eoTHsQh2Lu6oVWdF8sZvoBgTMTrEY4KFU__eepU0QP1uw%40mail.gmail.com.


Re: Project

2021-05-18 Thread Kasper Laudrup
On 18/05/2021 19.51, Gunjan shrimali wrote:
> Is django single page application? 

No.

> And can be completely work with react, angular?? 

Yes.

Also learn how to use a mailing list and/or Google groups:

https://www.dummies.com/education/internet-basics/how-to-post-messages-in-google-groups/

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/784c4137-375e-2667-bb7f-a8afccf288df%40stacktrace.dk.


OpenPGP_signature
Description: OpenPGP digital signature


Re: I need web scraping to get product information from mfg sites

2021-05-18 Thread Sharif Mehedi
This will particularly be interesting for me. Okay.

Contact details,Name: Sharif Mehediemail: sharifmehed...@gmail.com   On 
Wednesday, May 19, 2021, 12:11:15 AM GMT+6, Diénert Vieira 
 wrote:  
 
 Hi, I'm interested.
https://www.linkedin.com/in/dienert

--
Diénert
Em ter., 18 de mai. de 2021 11:55, John McClain  
escreveu:

Hello,
I am looking for individuals that can set up scraping routines for me and place 
the results in google.docs for me.
If interested in helping out please let me know. Some compensation for your 
efforts is available. There are 20+ sites needed to be scraped which is why I 
am seeking help with the project.
If interested drop your name and contact details here and I'll be in touch.
Cheers,
J

-- 
John McClain
Cell: 085-1977-823
Skype: jmcclain0129Email: jmcclain0...@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/CAN-hv_pQ67gGF10S4J1pk1CtSzmX9qqtDp_-j_Pax3tvpmeczg%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/CABj-%3DO3%2BTP952PjnbAcb1N5ba_aecLizdzn0beCGGFekpJ6mAw%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/1715205870.1950206.1621363716358%40mail.yahoo.com.


HackbotOne Migration to Django

2021-05-18 Thread Anshuman Pattnaik
Hello Everyone,

I have developed one blogging website using Django and the website will 
focus on making contents from Application Security & Software Development.

Please follow the Github repository & Youtube walkthrough video.

*YouTube video walkthrough*
https://www.youtube.com/watch?v=TRaejKHVhj8

*HackbotOne Website link* - https://hackbotone.com/

*Github*
1. hackbotone-website - 
https://github.com/anshumanpattnaik/hackbotone-website
2. hackbotone-api - https://github.com/anshumanpattnaik/hackbotone-api

Please clone both of the repositories and let me know if you've any 
suggestion.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ed62c843-6f63-4498-a6d7-0f07e5f08417n%40googlegroups.com.


Django Select Filter Widget

2021-05-18 Thread sebasti...@gmail.com
Hi, i need i new widget for Select fields. 

 I have in my models 2 classes: 

class address(models.Model): 
   lastname = models.CharField(max_length=255, default="", ) 
   firstname = models.CharField(max_length=255, default="", blank=True, 
null=True) 

and a second   class: 

class emailaddress(models.Model): 
   address_link = models.ForeignKey(Address, on_delete=models.CASCADE, 
blank=False,  null=False, default=None,) Now i want define 

in my forms.py: 
  class Emailsform(forms.ModelForm): 
 class Meta: 
 model = emailaddress fields = ["address_link"] 
 widgets = {'address_link':multiselectfilterview()} 

Now in frontend i want a normal multiselect field. When user click on this 
input field then a modal open with a Adress view. This Adress view should 
get all adresses with ajax. In this Adress View Paging and Filtering must 
be possible. In this modal in left column checkboxes are shown and user can 
select multiple adresses with this checkbox. In Modal View there must be a 
submit button and when user click on submit all adresses which is checked 
is submit to original multiselect field. This widget must be modular so i 
can use it for another foreingkey relations. 

Have anyone a idea how i can implement such a widget or have already done 
this?

Regards

-- 
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/9debba1c-e5ea-44be-90a4-32c7e71228adn%40googlegroups.com.


Re: I need web scraping to get product information from mfg sites

2021-05-18 Thread Diénert Vieira
Hi, I'm interested.

https://www.linkedin.com/in/dienert

--
Diénert

Em ter., 18 de mai. de 2021 11:55, John McClain 
escreveu:

> Hello,
>
> I am looking for individuals that can set up scraping routines for me and
> place the results in google.docs for me.
>
> If interested in helping out please let me know. Some compensation for
> your efforts is available. There are 20+ sites needed to be scraped which
> is why I am seeking help with the project.
>
> If interested drop your name and contact details here and I'll be in touch.
>
> Cheers,
>
> J
>
> --
> John McClain
>
> Cell: 085-1977-823
> Skype: jmcclain0129
> Email: jmcclain0...@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/CAN-hv_pQ67gGF10S4J1pk1CtSzmX9qqtDp_-j_Pax3tvpmeczg%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/CABj-%3DO3%2BTP952PjnbAcb1N5ba_aecLizdzn0beCGGFekpJ6mAw%40mail.gmail.com.


Re: Project

2021-05-18 Thread Gunjan shrimali
Is django single page application?
And can be completely work with react, angular??

On Tue, 18 May, 2021, 9:12 PM Vineet Kothari, 
wrote:

> Sure I will update you as it goes.thanks for being so quick.
> Regards,
> Vineet Kothari
>
> On Tue, 18 May 2021, 9:07 pm Omkar Parab,  wrote:
>
>> Why not! Spotify is also using Django.
>>
>> On Tue, May 18, 2021, 8:54 PM Vineet Kothari 
>> wrote:
>>
>>> Hi,
>>> I want to create an music streaming website in djanho is it a good
>>> idea.
>>>
>>> Regards ,
>>> Vineet Kothari
>>>
>>> --
>>> 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/CAAcanssxpXyoReYjbzJDi3Cc_c3fito9MviY10Q2gTi2Q3RGcQ%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/CAJY8mfz-ZFTPejU2Xn9dn493O%3DtrH40%3DZCvbjpTP05TPyeRFKw%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/CAAcanstp0bk3eiXjV9Sg6t%2B%3D3PT4BU0MhMPUe72PZTdnT-z6dA%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/CAAreeqi4V3DF4gD4gacSaMoDTnk1Ydg-wnwm%3D6dQ1kRjVtXB5w%40mail.gmail.com.


Re: i need to show multiselectfields

2021-05-18 Thread RANGA BHARATH JINKA
What is the error you are facing. Please share the screenshots

On Tue, 18 May 2021, 10:17 pm Gegi Esitashvili, 
wrote:

> I tried it before posted here, It doesnt work unfortuntly :(
>
> On Tue, 18 May 2021 at 19:11, RANGA BHARATH JINKA <
> bharathjink...@gmail.com> wrote:
>
>> use {{ facilitie.name }} instead of {{ facilitie }}
>> {{ facilitie.name
>> }}
>>
>> On Tue, May 18, 2021 at 8:27 PM RANGA BHARATH JINKA <
>> bharathjink...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Please share screenshots. So that we can understand where you want to
>>> show
>>>
>>> On Tue, May 18, 2021 at 8:04 PM Gegi Esitashvili <
>>> gegiesitashv...@gmail.com> wrote:
>>>

 and i got it what i wanted but it is only facilitiess id and not its
 name, so i need to show up its name and not id.
 On Monday, 17 May 2021 at 08:21:25 UTC+4 bharath...@gmail.com wrote:

> Hi,
>
> Use a select box with multiple attribute instead of ul and li. Loop
> through options. Please go through this.
> https://www.w3schools.com/tags/att_select_multiple.asp#:~:text=For%20windows%3A%20Hold%20down%20the,button%20to%20select%20multiple%20options
>
> All the best
>
> On Sun, May 16, 2021 at 8:50 PM Gegi Esitashvili 
> wrote:
>
>> hello everyone, i am using django allauth, also i have installed
>> multiselectfield and trying show my facilities on the site.
>>
>> this is my models.py
>>
>> class Hotel(models.Model):
>> name = models.CharField(max_length=128)
>> description = models.TextField()
>> stars = models.IntegerField()
>> price = models.IntegerField()
>> picture = models.ImageField(upload_to='images',
>> default="images/124180566_3771168516249284_3976912378791517206_o.jpg")
>> HOTEL_TYPE = (
>> ("Free WiFi", "free wiFi"),
>> ("Free Parking", "Free Parking"),
>> )
>> popular_facilities = MultiSelectField(choices=HOTEL_TYPE)
>>
>>
>> this is my views.py
>>
>> def see_more(request, id):
>> seemore = Hotel.objects.get(id=id)
>> reviews = HotelReview.objects.filter(review=id, permission=True)[:2]
>> facilities = seemore.popular_facilities
>> form = HotelReviewForm()
>> if request.method == "GET":
>> form = HotelReviewForm(request.GET or None) #request.FILES მედიას
>> ატვირთვა თუ გვინდა
>> if form.is_valid():
>> data = form.save(commit=False)
>> data.review = seemore
>> data.name = form.cleaned_data.get("name")
>> data.email = form.cleaned_data.get('email')
>> data.comment = form.cleaned_data.get('comment')
>> data.rating_number = form.cleaned_data.get('rating_number')
>> data.permission = True
>> data.save()
>>
>> return redirect('hotel:seemore', id)
>>
>> context = {
>> 'seemore':seemore,
>> 'reviews':reviews,
>> 'form':form,
>> 'facilities':facilities
>> }
>> return render(request, 'hotel/seemore.html', context)
>>
>> and this is my html
>>
>> Popular Facilities
>> 
>> {% for facilitie in facilities %}
>> {{ facilitie
>> }}
>> {% endfor %}
>>
>> and this is what is showed up[image: 1.PNG]
>>
>>
>>
>> can anyone help me?
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/db5fa916-7676-4ba8-bea0-05f4e0f8af8cn%40googlegroups.com
>> 
>> .
>>
>
>
> --
> Thanks and Regards
>
> J. Ranga Bharath
> cell: 9110334114
>
 --
 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/ea022731-01bf-44ca-9b9a-dfb9bf4761ecn%40googlegroups.com
 
 .

>>>
>>>
>>> --
>>> Thanks and Regards
>>>
>>> J. Ranga Bharath
>>> cell: 9110334114
>>>
>>
>>
>> --
>> Thanks and Regards
>>
>> J. Ranga Bharath
>> cell: 9110334114
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/XkHCuUnLsoQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> django-users+unsubscr...@googlegroups.com.

Re: i need to show multiselectfields

2021-05-18 Thread Gegi Esitashvili
I tried it before posted here, It doesnt work unfortuntly :(

On Tue, 18 May 2021 at 19:11, RANGA BHARATH JINKA 
wrote:

> use {{ facilitie.name }} instead of {{ facilitie }}
> {{ facilitie.name
> }}
>
> On Tue, May 18, 2021 at 8:27 PM RANGA BHARATH JINKA <
> bharathjink...@gmail.com> wrote:
>
>> Hi,
>>
>> Please share screenshots. So that we can understand where you want to show
>>
>> On Tue, May 18, 2021 at 8:04 PM Gegi Esitashvili <
>> gegiesitashv...@gmail.com> wrote:
>>
>>>
>>> and i got it what i wanted but it is only facilitiess id and not its
>>> name, so i need to show up its name and not id.
>>> On Monday, 17 May 2021 at 08:21:25 UTC+4 bharath...@gmail.com wrote:
>>>
 Hi,

 Use a select box with multiple attribute instead of ul and li. Loop
 through options. Please go through this.
 https://www.w3schools.com/tags/att_select_multiple.asp#:~:text=For%20windows%3A%20Hold%20down%20the,button%20to%20select%20multiple%20options

 All the best

 On Sun, May 16, 2021 at 8:50 PM Gegi Esitashvili 
 wrote:

> hello everyone, i am using django allauth, also i have installed
> multiselectfield and trying show my facilities on the site.
>
> this is my models.py
>
> class Hotel(models.Model):
> name = models.CharField(max_length=128)
> description = models.TextField()
> stars = models.IntegerField()
> price = models.IntegerField()
> picture = models.ImageField(upload_to='images',
> default="images/124180566_3771168516249284_3976912378791517206_o.jpg")
> HOTEL_TYPE = (
> ("Free WiFi", "free wiFi"),
> ("Free Parking", "Free Parking"),
> )
> popular_facilities = MultiSelectField(choices=HOTEL_TYPE)
>
>
> this is my views.py
>
> def see_more(request, id):
> seemore = Hotel.objects.get(id=id)
> reviews = HotelReview.objects.filter(review=id, permission=True)[:2]
> facilities = seemore.popular_facilities
> form = HotelReviewForm()
> if request.method == "GET":
> form = HotelReviewForm(request.GET or None) #request.FILES მედიას
> ატვირთვა თუ გვინდა
> if form.is_valid():
> data = form.save(commit=False)
> data.review = seemore
> data.name = form.cleaned_data.get("name")
> data.email = form.cleaned_data.get('email')
> data.comment = form.cleaned_data.get('comment')
> data.rating_number = form.cleaned_data.get('rating_number')
> data.permission = True
> data.save()
>
> return redirect('hotel:seemore', id)
>
> context = {
> 'seemore':seemore,
> 'reviews':reviews,
> 'form':form,
> 'facilities':facilities
> }
> return render(request, 'hotel/seemore.html', context)
>
> and this is my html
>
> Popular Facilities
> 
> {% for facilitie in facilities %}
> {{ facilitie
> }}
> {% endfor %}
>
> and this is what is showed up[image: 1.PNG]
>
>
>
> can anyone help me?
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/db5fa916-7676-4ba8-bea0-05f4e0f8af8cn%40googlegroups.com
> 
> .
>


 --
 Thanks and Regards

 J. Ranga Bharath
 cell: 9110334114

>>> --
>>> 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/ea022731-01bf-44ca-9b9a-dfb9bf4761ecn%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> Thanks and Regards
>>
>> J. Ranga Bharath
>> cell: 9110334114
>>
>
>
> --
> Thanks and Regards
>
> J. Ranga Bharath
> cell: 9110334114
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/XkHCuUnLsoQ/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAK5m316DHEKv954tZ2atwEOdPGK6WMquRqvGHnwW3ByK6PJY-A%40mail.gmail.com
> 

Re: Project

2021-05-18 Thread Vineet Kothari
Sure I will update you as it goes.thanks for being so quick.
Regards,
Vineet Kothari

On Tue, 18 May 2021, 9:07 pm Omkar Parab,  wrote:

> Why not! Spotify is also using Django.
>
> On Tue, May 18, 2021, 8:54 PM Vineet Kothari 
> wrote:
>
>> Hi,
>> I want to create an music streaming website in djanho is it a good
>> idea.
>>
>> Regards ,
>> Vineet Kothari
>>
>> --
>> 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/CAAcanssxpXyoReYjbzJDi3Cc_c3fito9MviY10Q2gTi2Q3RGcQ%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/CAJY8mfz-ZFTPejU2Xn9dn493O%3DtrH40%3DZCvbjpTP05TPyeRFKw%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/CAAcanstp0bk3eiXjV9Sg6t%2B%3D3PT4BU0MhMPUe72PZTdnT-z6dA%40mail.gmail.com.


Re: Project

2021-05-18 Thread Omkar Parab
Why not! Spotify is also using Django.

On Tue, May 18, 2021, 8:54 PM Vineet Kothari 
wrote:

> Hi,
> I want to create an music streaming website in djanho is it a good
> idea.
>
> Regards ,
> Vineet Kothari
>
> --
> 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/CAAcanssxpXyoReYjbzJDi3Cc_c3fito9MviY10Q2gTi2Q3RGcQ%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/CAJY8mfz-ZFTPejU2Xn9dn493O%3DtrH40%3DZCvbjpTP05TPyeRFKw%40mail.gmail.com.


Re: Project

2021-05-18 Thread Christ Doyen
Add me


Le mar. 18 mai 2021 à 16:27, Sakshi jain  a écrit :

> Add me
>
> On Tue, May 18, 2021, 20:56 Sakshi jain  wrote:
>
>> grt
>>
>> On Tue, May 18, 2021, 20:55 Vineet Kothari 
>> wrote:
>>
>>> Hi,
>>> I want to create an music streaming website in djanho is it a good
>>> idea.
>>>
>>> Regards ,
>>> Vineet Kothari
>>>
>>> --
>>> 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/CAAcanssxpXyoReYjbzJDi3Cc_c3fito9MviY10Q2gTi2Q3RGcQ%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/CAJhs3iMKYvoqAtOr_WgA%2BRCoXcm0MsddBqeZEdPPhdNxooBiLQ%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/CADT9t_pFhSFHiACr-MhtCbKGAb9vw5O5nUw1qhtV_oNzU9Pg%3Dw%40mail.gmail.com.


Re: In Django project how to create app in subapp in apps folder.

2021-05-18 Thread Ayser shuhaib
I think you should add __init__.py file inside your apps folder for Django
to see it

On Tue, 18 May 2021 at 17:20, Salima Begum 
wrote:

> Hi all,
>
> We initially developed our project with the following folder structure;
>
> [image: old_folder_structure.PNG]
>
> As shown in the above image we have developed and integrated everything
> into a few files. Since the functionality is growing we are planning to
> separate each functional module as an individual app folder structure
> within the old app folder. I am thinking of creating an apps folder and
> within the apps folder I want to create individual apps folder( just like
> what is seen in the above image). So the new folder structure is created as
> shown in the image below.
>
> [image: within_app.PNG]
> When I have run migrations after creating I am getting an error.
> ```
> AttributeError: module 'oldapp.apps' has no attribute 'categories'
> ```
>
> ```
> django.core.exceptions.ImproperlyConfigured: ' oldapp .apps' does not
> contain a class 'categories'. Choices are: ' OldappConfig'.
> ```
>
> --
> 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/CAMSz6bnOSptHtzeSBK_2BfRE%2BxzLpD8LAAnkYecHTK25_nz1aA%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/CAE0AZGLa2FfeFkJ6D4LZBBCef8cQnbfj%3D%2BTV2Kdyi2UGQaUkTQ%40mail.gmail.com.


Re: Project

2021-05-18 Thread Sakshi jain
Add me

On Tue, May 18, 2021, 20:56 Sakshi jain  wrote:

> grt
>
> On Tue, May 18, 2021, 20:55 Vineet Kothari 
> wrote:
>
>> Hi,
>> I want to create an music streaming website in djanho is it a good
>> idea.
>>
>> Regards ,
>> Vineet Kothari
>>
>> --
>> 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/CAAcanssxpXyoReYjbzJDi3Cc_c3fito9MviY10Q2gTi2Q3RGcQ%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/CAJhs3iMKYvoqAtOr_WgA%2BRCoXcm0MsddBqeZEdPPhdNxooBiLQ%40mail.gmail.com.


Re: Project

2021-05-18 Thread Sakshi jain
grt

On Tue, May 18, 2021, 20:55 Vineet Kothari 
wrote:

> Hi,
> I want to create an music streaming website in djanho is it a good
> idea.
>
> Regards ,
> Vineet Kothari
>
> --
> 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/CAAcanssxpXyoReYjbzJDi3Cc_c3fito9MviY10Q2gTi2Q3RGcQ%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/CAJhs3iN9XrtdjYPME2_b3FjjhaaNgxFXut8d9fCDabTyZDmDww%40mail.gmail.com.


Project

2021-05-18 Thread Vineet Kothari
Hi,
I want to create an music streaming website in djanho is it a good idea.

Regards ,
Vineet Kothari

-- 
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/CAAcanssxpXyoReYjbzJDi3Cc_c3fito9MviY10Q2gTi2Q3RGcQ%40mail.gmail.com.


In Django project how to create app in subapp in apps folder.

2021-05-18 Thread Salima Begum
Hi all,

We initially developed our project with the following folder structure;

[image: old_folder_structure.PNG]

As shown in the above image we have developed and integrated everything
into a few files. Since the functionality is growing we are planning to
separate each functional module as an individual app folder structure
within the old app folder. I am thinking of creating an apps folder and
within the apps folder I want to create individual apps folder( just like
what is seen in the above image). So the new folder structure is created as
shown in the image below.

[image: within_app.PNG]
When I have run migrations after creating I am getting an error.
```
AttributeError: module 'oldapp.apps' has no attribute 'categories'
```

```
django.core.exceptions.ImproperlyConfigured: ' oldapp .apps' does not
contain a class 'categories'. Choices are: ' OldappConfig'.
```

-- 
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/CAMSz6bnOSptHtzeSBK_2BfRE%2BxzLpD8LAAnkYecHTK25_nz1aA%40mail.gmail.com.


Re: I need web scraping to get product information from mfg sites

2021-05-18 Thread Yann Mbella
I want to be part for the help
My name is mbella onguene Yann Symphorien
Email: mbellaongu...@gmail.com

On Tue, 18 May 2021 at 17:07 Software, Web Developer 
wrote:

> Interested
> Name: Joash Monda Mokaya
> Email Address: mondajoas...@gmail.com
> WhatsApp Number: +254707191544
>
> Thanks
>
> On Tue, May 18, 2021, 17:55 John McClain  wrote:
>
>> Hello,
>>
>> I am looking for individuals that can set up scraping routines for me and
>> place the results in google.docs for me.
>>
>> If interested in helping out please let me know. Some compensation for
>> your efforts is available. There are 20+ sites needed to be scraped which
>> is why I am seeking help with the project.
>>
>> If interested drop your name and contact details here and I'll be in
>> touch.
>>
>> Cheers,
>>
>> J
>>
>> --
>> John McClain
>>
>> Cell: 085-1977-823
>> Skype: jmcclain0129
>> Email: jmcclain0...@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/CAN-hv_pQ67gGF10S4J1pk1CtSzmX9qqtDp_-j_Pax3tvpmeczg%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/CADFHYGTUD%3DCiFjO8w0dhGUGos9-PR5ZB7MV1n90Puqrh-rcosA%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/CAEaFv0H8iAPPg%3DVHzAyNKQ9E6_4kZtHQw0wUexNAsSr%2B13G57g%40mail.gmail.com.


Re: i need to show multiselectfields

2021-05-18 Thread RANGA BHARATH JINKA
use {{ facilitie.name }} instead of {{ facilitie }}
{{ facilitie.name
}}

On Tue, May 18, 2021 at 8:27 PM RANGA BHARATH JINKA <
bharathjink...@gmail.com> wrote:

> Hi,
>
> Please share screenshots. So that we can understand where you want to show
>
> On Tue, May 18, 2021 at 8:04 PM Gegi Esitashvili <
> gegiesitashv...@gmail.com> wrote:
>
>>
>> and i got it what i wanted but it is only facilitiess id and not its
>> name, so i need to show up its name and not id.
>> On Monday, 17 May 2021 at 08:21:25 UTC+4 bharath...@gmail.com wrote:
>>
>>> Hi,
>>>
>>> Use a select box with multiple attribute instead of ul and li. Loop
>>> through options. Please go through this.
>>> https://www.w3schools.com/tags/att_select_multiple.asp#:~:text=For%20windows%3A%20Hold%20down%20the,button%20to%20select%20multiple%20options
>>>
>>> All the best
>>>
>>> On Sun, May 16, 2021 at 8:50 PM Gegi Esitashvili 
>>> wrote:
>>>
 hello everyone, i am using django allauth, also i have installed
 multiselectfield and trying show my facilities on the site.

 this is my models.py

 class Hotel(models.Model):
 name = models.CharField(max_length=128)
 description = models.TextField()
 stars = models.IntegerField()
 price = models.IntegerField()
 picture = models.ImageField(upload_to='images',
 default="images/124180566_3771168516249284_3976912378791517206_o.jpg")
 HOTEL_TYPE = (
 ("Free WiFi", "free wiFi"),
 ("Free Parking", "Free Parking"),
 )
 popular_facilities = MultiSelectField(choices=HOTEL_TYPE)


 this is my views.py

 def see_more(request, id):
 seemore = Hotel.objects.get(id=id)
 reviews = HotelReview.objects.filter(review=id, permission=True)[:2]
 facilities = seemore.popular_facilities
 form = HotelReviewForm()
 if request.method == "GET":
 form = HotelReviewForm(request.GET or None) #request.FILES მედიას
 ატვირთვა თუ გვინდა
 if form.is_valid():
 data = form.save(commit=False)
 data.review = seemore
 data.name = form.cleaned_data.get("name")
 data.email = form.cleaned_data.get('email')
 data.comment = form.cleaned_data.get('comment')
 data.rating_number = form.cleaned_data.get('rating_number')
 data.permission = True
 data.save()

 return redirect('hotel:seemore', id)

 context = {
 'seemore':seemore,
 'reviews':reviews,
 'form':form,
 'facilities':facilities
 }
 return render(request, 'hotel/seemore.html', context)

 and this is my html

 Popular Facilities
 
 {% for facilitie in facilities %}
 {{ facilitie
 }}
 {% endfor %}

 and this is what is showed up[image: 1.PNG]



 can anyone help me?

 --
 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 view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/db5fa916-7676-4ba8-bea0-05f4e0f8af8cn%40googlegroups.com
 
 .

>>>
>>>
>>> --
>>> Thanks and Regards
>>>
>>> J. Ranga Bharath
>>> cell: 9110334114
>>>
>> --
>> 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/ea022731-01bf-44ca-9b9a-dfb9bf4761ecn%40googlegroups.com
>> 
>> .
>>
>
>
> --
> Thanks and Regards
>
> J. Ranga Bharath
> cell: 9110334114
>


-- 
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

-- 
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/CAK5m316DHEKv954tZ2atwEOdPGK6WMquRqvGHnwW3ByK6PJY-A%40mail.gmail.com.


Re: I need web scraping to get product information from mfg sites

2021-05-18 Thread Software, Web Developer
Interested
Name: Joash Monda Mokaya
Email Address: mondajoas...@gmail.com
WhatsApp Number: +254707191544

Thanks

On Tue, May 18, 2021, 17:55 John McClain  wrote:

> Hello,
>
> I am looking for individuals that can set up scraping routines for me and
> place the results in google.docs for me.
>
> If interested in helping out please let me know. Some compensation for
> your efforts is available. There are 20+ sites needed to be scraped which
> is why I am seeking help with the project.
>
> If interested drop your name and contact details here and I'll be in touch.
>
> Cheers,
>
> J
>
> --
> John McClain
>
> Cell: 085-1977-823
> Skype: jmcclain0129
> Email: jmcclain0...@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/CAN-hv_pQ67gGF10S4J1pk1CtSzmX9qqtDp_-j_Pax3tvpmeczg%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/CADFHYGTUD%3DCiFjO8w0dhGUGos9-PR5ZB7MV1n90Puqrh-rcosA%40mail.gmail.com.


Re: i need to show multiselectfields

2021-05-18 Thread RANGA BHARATH JINKA
Hi,

Please share screenshots. So that we can understand where you want to show

On Tue, May 18, 2021 at 8:04 PM Gegi Esitashvili 
wrote:

>
> and i got it what i wanted but it is only facilitiess id and not its name,
> so i need to show up its name and not id.
> On Monday, 17 May 2021 at 08:21:25 UTC+4 bharath...@gmail.com wrote:
>
>> Hi,
>>
>> Use a select box with multiple attribute instead of ul and li. Loop
>> through options. Please go through this.
>> https://www.w3schools.com/tags/att_select_multiple.asp#:~:text=For%20windows%3A%20Hold%20down%20the,button%20to%20select%20multiple%20options
>>
>> All the best
>>
>> On Sun, May 16, 2021 at 8:50 PM Gegi Esitashvili 
>> wrote:
>>
>>> hello everyone, i am using django allauth, also i have installed
>>> multiselectfield and trying show my facilities on the site.
>>>
>>> this is my models.py
>>>
>>> class Hotel(models.Model):
>>> name = models.CharField(max_length=128)
>>> description = models.TextField()
>>> stars = models.IntegerField()
>>> price = models.IntegerField()
>>> picture = models.ImageField(upload_to='images',
>>> default="images/124180566_3771168516249284_3976912378791517206_o.jpg")
>>> HOTEL_TYPE = (
>>> ("Free WiFi", "free wiFi"),
>>> ("Free Parking", "Free Parking"),
>>> )
>>> popular_facilities = MultiSelectField(choices=HOTEL_TYPE)
>>>
>>>
>>> this is my views.py
>>>
>>> def see_more(request, id):
>>> seemore = Hotel.objects.get(id=id)
>>> reviews = HotelReview.objects.filter(review=id, permission=True)[:2]
>>> facilities = seemore.popular_facilities
>>> form = HotelReviewForm()
>>> if request.method == "GET":
>>> form = HotelReviewForm(request.GET or None) #request.FILES მედიას
>>> ატვირთვა თუ გვინდა
>>> if form.is_valid():
>>> data = form.save(commit=False)
>>> data.review = seemore
>>> data.name = form.cleaned_data.get("name")
>>> data.email = form.cleaned_data.get('email')
>>> data.comment = form.cleaned_data.get('comment')
>>> data.rating_number = form.cleaned_data.get('rating_number')
>>> data.permission = True
>>> data.save()
>>>
>>> return redirect('hotel:seemore', id)
>>>
>>> context = {
>>> 'seemore':seemore,
>>> 'reviews':reviews,
>>> 'form':form,
>>> 'facilities':facilities
>>> }
>>> return render(request, 'hotel/seemore.html', context)
>>>
>>> and this is my html
>>>
>>> Popular Facilities
>>> 
>>> {% for facilitie in facilities %}
>>> {{ facilitie
>>> }}
>>> {% endfor %}
>>>
>>> and this is what is showed up[image: 1.PNG]
>>>
>>>
>>>
>>> can anyone help me?
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/db5fa916-7676-4ba8-bea0-05f4e0f8af8cn%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> Thanks and Regards
>>
>> J. Ranga Bharath
>> cell: 9110334114
>>
> --
> 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/ea022731-01bf-44ca-9b9a-dfb9bf4761ecn%40googlegroups.com
> 
> .
>


-- 
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

-- 
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/CAK5m314LDLg%2BMF3OFv%2B5%2BeU2kwibCY3VmP5-7HdGdeW%3DOP-%3DTQ%40mail.gmail.com.


I need web scraping to get product information from mfg sites

2021-05-18 Thread John McClain
Hello,

I am looking for individuals that can set up scraping routines for me and
place the results in google.docs for me.

If interested in helping out please let me know. Some compensation for your
efforts is available. There are 20+ sites needed to be scraped which is why
I am seeking help with the project.

If interested drop your name and contact details here and I'll be in touch.

Cheers,

J

-- 
John McClain

Cell: 085-1977-823
Skype: jmcclain0129
Email: jmcclain0...@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/CAN-hv_pQ67gGF10S4J1pk1CtSzmX9qqtDp_-j_Pax3tvpmeczg%40mail.gmail.com.


Re: i need to show multiselectfields

2021-05-18 Thread Gegi Esitashvili

and i got it what i wanted but it is only facilitiess id and not its name, 
so i need to show up its name and not id.
On Monday, 17 May 2021 at 08:21:25 UTC+4 bharath...@gmail.com wrote:

> Hi,
>
> Use a select box with multiple attribute instead of ul and li. Loop 
> through options. Please go through this. 
> https://www.w3schools.com/tags/att_select_multiple.asp#:~:text=For%20windows%3A%20Hold%20down%20the,button%20to%20select%20multiple%20options
>
> All the best 
>
> On Sun, May 16, 2021 at 8:50 PM Gegi Esitashvili  
> wrote:
>
>> hello everyone, i am using django allauth, also i have installed 
>> multiselectfield and trying show my facilities on the site.
>>
>> this is my models.py
>>
>> class Hotel(models.Model):
>> name = models.CharField(max_length=128)
>> description = models.TextField()
>> stars = models.IntegerField()
>> price = models.IntegerField()
>> picture = models.ImageField(upload_to='images', 
>> default="images/124180566_3771168516249284_3976912378791517206_o.jpg")
>> HOTEL_TYPE = (
>> ("Free WiFi", "free wiFi"),
>> ("Free Parking", "Free Parking"),
>> )
>> popular_facilities = MultiSelectField(choices=HOTEL_TYPE)
>>
>>
>> this is my views.py 
>>
>> def see_more(request, id):
>> seemore = Hotel.objects.get(id=id)
>> reviews = HotelReview.objects.filter(review=id, permission=True)[:2]
>> facilities = seemore.popular_facilities
>> form = HotelReviewForm()
>> if request.method == "GET":
>> form = HotelReviewForm(request.GET or None) #request.FILES მედიას 
>> ატვირთვა თუ გვინდა
>> if form.is_valid():
>> data = form.save(commit=False)
>> data.review = seemore
>> data.name = form.cleaned_data.get("name")
>> data.email = form.cleaned_data.get('email')
>> data.comment = form.cleaned_data.get('comment')
>> data.rating_number = form.cleaned_data.get('rating_number')
>> data.permission = True
>> data.save()
>>
>> return redirect('hotel:seemore', id)
>>
>> context = {
>> 'seemore':seemore,
>> 'reviews':reviews,
>> 'form':form,
>> 'facilities':facilities
>> }
>> return render(request, 'hotel/seemore.html', context)
>>
>> and this is my html
>>
>> Popular Facilities
>> 
>> {% for facilitie in facilities %}
>> {{ facilitie 
>> }}
>> {% endfor %}
>>
>> and this is what is showed up[image: 1.PNG]
>>
>>
>>
>> can anyone help me?
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/db5fa916-7676-4ba8-bea0-05f4e0f8af8cn%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Thanks and Regards
>
> J. Ranga Bharath
> cell: 9110334114
>

-- 
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/ea022731-01bf-44ca-9b9a-dfb9bf4761ecn%40googlegroups.com.


Re: i need to show multiselectfields

2021-05-18 Thread Gegi Esitashvili
I may have misinterpreted what I wanted and you misunderstood. I specify 
'specific options' from the admin panel, then one of the pages should 
display the specific option I chose in the admin panel
What you told me is about the html page and not django :(

On Monday, 17 May 2021 at 08:21:25 UTC+4 bharath...@gmail.com wrote:

> Hi,
>
> Use a select box with multiple attribute instead of ul and li. Loop 
> through options. Please go through this. 
> https://www.w3schools.com/tags/att_select_multiple.asp#:~:text=For%20windows%3A%20Hold%20down%20the,button%20to%20select%20multiple%20options
>
> All the best 
>
> On Sun, May 16, 2021 at 8:50 PM Gegi Esitashvili  
> wrote:
>
>> hello everyone, i am using django allauth, also i have installed 
>> multiselectfield and trying show my facilities on the site.
>>
>> this is my models.py
>>
>> class Hotel(models.Model):
>> name = models.CharField(max_length=128)
>> description = models.TextField()
>> stars = models.IntegerField()
>> price = models.IntegerField()
>> picture = models.ImageField(upload_to='images', 
>> default="images/124180566_3771168516249284_3976912378791517206_o.jpg")
>> HOTEL_TYPE = (
>> ("Free WiFi", "free wiFi"),
>> ("Free Parking", "Free Parking"),
>> )
>> popular_facilities = MultiSelectField(choices=HOTEL_TYPE)
>>
>>
>> this is my views.py 
>>
>> def see_more(request, id):
>> seemore = Hotel.objects.get(id=id)
>> reviews = HotelReview.objects.filter(review=id, permission=True)[:2]
>> facilities = seemore.popular_facilities
>> form = HotelReviewForm()
>> if request.method == "GET":
>> form = HotelReviewForm(request.GET or None) #request.FILES მედიას 
>> ატვირთვა თუ გვინდა
>> if form.is_valid():
>> data = form.save(commit=False)
>> data.review = seemore
>> data.name = form.cleaned_data.get("name")
>> data.email = form.cleaned_data.get('email')
>> data.comment = form.cleaned_data.get('comment')
>> data.rating_number = form.cleaned_data.get('rating_number')
>> data.permission = True
>> data.save()
>>
>> return redirect('hotel:seemore', id)
>>
>> context = {
>> 'seemore':seemore,
>> 'reviews':reviews,
>> 'form':form,
>> 'facilities':facilities
>> }
>> return render(request, 'hotel/seemore.html', context)
>>
>> and this is my html
>>
>> Popular Facilities
>> 
>> {% for facilitie in facilities %}
>> {{ facilitie 
>> }}
>> {% endfor %}
>>
>> and this is what is showed up[image: 1.PNG]
>>
>>
>>
>> can anyone help me?
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/db5fa916-7676-4ba8-bea0-05f4e0f8af8cn%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Thanks and Regards
>
> J. Ranga Bharath
> cell: 9110334114
>

-- 
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/808c884c-b162-4fb0-bb9b-9bcb193631bbn%40googlegroups.com.


RES: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread samuel nogueira bacelar
Adding Bootstrap's class="text-lowercase" was the way to go. Thank you!! Enviado do Email para Windows 10 De: Jason TurnerEnviado:terça-feira, 18 de maio de 2021 10:28Para: django-users@googlegroups.comAssunto: Re: how to prevent Django do auto capitalize static text in templates Have you tried Bootstrap's class="text-lowercase"? On Tue, May 18, 2021, 8:23 AM Samuel Nogueira  wrote:I am using bootstrap, so my CSS shouldn't go wrong  Em ter., 18 de mai. de 2021 às 10:04, 712189512  escreveu:It’s not django that’s doing that,have you checked your css? On Tue, 18 May 2021 at 12:56 David Tobrise  wrote:What happens if you try outputting the units from dynamically instead of hard-coding it? Best Regards,David O. T.On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar  wrote:Hi guys!I have something that appears to be a simple problem but I didn’t find anything useful anywhere. My problem is that my text in a template next to a Django tag keeps auto capitalizing but I don’t want this to happen. In the image above you can see that m³/ano and m² is not capitalized at all. But bellow my text keeps capitalizing.  How can I prevent that to happen? -- 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/55BF1950-88D1-47E5-9654-18039E00E75E%40hxcore.ol.-- 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/CAKeCWo_m7UqF-HLXr0Y%3DgzO9Puu%2BKCuA_mKF86-TPg3sv8QjXw%40mail.gmail.com.-- Gabrielstone-- 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/CAL-5MpXOhhj-ktjZrZqYmUbF6U933j9MFJr-cCmf67JcMxxO0A%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/CAOJT-cDo50jVF-QCZDWaoTTNQ4yrk3BnC2sszsp6a%3DgyhGmcOg%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/CADoyC14XpJ2mFgF5i2xL2QcPmXCZHnNP_AMc7t4U3o-9gs05mQ%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/6884DB1C-0CB9-4820-9A5D-964965F7E52F%40hxcore.ol.


Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Jason Turner
Have you tried Bootstrap's class="text-lowercase"?

On Tue, May 18, 2021, 8:23 AM Samuel Nogueira  wrote:

> I am using bootstrap, so my CSS shouldn't go wrong
>
>
> Em ter., 18 de mai. de 2021 às 10:04, 712189512 <
> gabrielstonede...@gmail.com> escreveu:
>
>> It’s not django that’s doing that,have you checked your css?
>>
>> On Tue, 18 May 2021 at 12:56 David Tobrise  wrote:
>>
>>> What happens if you try outputting the units from dynamically instead of
>>> hard-coding it?
>>>
>>> *Best Regards,*
>>> *David O. T.*
>>>
>>>
>>>
>>>
>>> On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar <
>>> hu3mule...@gmail.com> wrote:
>>>
 Hi guys!

 I have something that appears to be a simple problem but I didn’t find
 anything useful anywhere. My problem is that my text in a template next to
 a Django tag keeps auto capitalizing but I don’t want this to happen.



 In the image above you can see that m³/ano and m² is not capitalized at
 all. But bellow my text keeps capitalizing.





 How can I prevent that to happen?



 --
 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/55BF1950-88D1-47E5-9654-18039E00E75E%40hxcore.ol
 
 .

>>> --
>>> 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/CAKeCWo_m7UqF-HLXr0Y%3DgzO9Puu%2BKCuA_mKF86-TPg3sv8QjXw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> Gabrielstone
>>
>> --
>> 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/CAL-5MpXOhhj-ktjZrZqYmUbF6U933j9MFJr-cCmf67JcMxxO0A%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/CAOJT-cDo50jVF-QCZDWaoTTNQ4yrk3BnC2sszsp6a%3DgyhGmcOg%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/CADoyC14XpJ2mFgF5i2xL2QcPmXCZHnNP_AMc7t4U3o-9gs05mQ%40mail.gmail.com.


Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Liu Zheng
Checking CSS is the right way to go. To verify, simply comment out all css
styles (internal or external ones) and strip off the classes from these few
lines. You shouldn’t have capitalisation problem any more

On Tue, 18 May 2021 at 9:23 PM, Samuel Nogueira 
wrote:

> I am using bootstrap, so my CSS shouldn't go wrong
>
>
> Em ter., 18 de mai. de 2021 às 10:04, 712189512 <
> gabrielstonede...@gmail.com> escreveu:
>
>> It’s not django that’s doing that,have you checked your css?
>>
>> On Tue, 18 May 2021 at 12:56 David Tobrise  wrote:
>>
>>> What happens if you try outputting the units from dynamically instead of
>>> hard-coding it?
>>>
>>> *Best Regards,*
>>> *David O. T.*
>>>
>>>
>>>
>>>
>>> On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar <
>>> hu3mule...@gmail.com> wrote:
>>>
 Hi guys!

 I have something that appears to be a simple problem but I didn’t find
 anything useful anywhere. My problem is that my text in a template next to
 a Django tag keeps auto capitalizing but I don’t want this to happen.



 In the image above you can see that m³/ano and m² is not capitalized at
 all. But bellow my text keeps capitalizing.





 How can I prevent that to happen?



 --
 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/55BF1950-88D1-47E5-9654-18039E00E75E%40hxcore.ol
 
 .

>>> --
>>> 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/CAKeCWo_m7UqF-HLXr0Y%3DgzO9Puu%2BKCuA_mKF86-TPg3sv8QjXw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> Gabrielstone
>>
>> --
>> 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/CAL-5MpXOhhj-ktjZrZqYmUbF6U933j9MFJr-cCmf67JcMxxO0A%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/CAOJT-cDo50jVF-QCZDWaoTTNQ4yrk3BnC2sszsp6a%3DgyhGmcOg%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/CAGQ3pf97JKCnJshVEoHN%2Bi-OMB-x3-njaH%3DOZHVyqPtgbGPhmg%40mail.gmail.com.


Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Samuel Nogueira
I am using bootstrap, so my CSS shouldn't go wrong


Em ter., 18 de mai. de 2021 às 10:04, 712189512 
escreveu:

> It’s not django that’s doing that,have you checked your css?
>
> On Tue, 18 May 2021 at 12:56 David Tobrise  wrote:
>
>> What happens if you try outputting the units from dynamically instead of
>> hard-coding it?
>>
>> *Best Regards,*
>> *David O. T.*
>>
>>
>>
>>
>> On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar <
>> hu3mule...@gmail.com> wrote:
>>
>>> Hi guys!
>>>
>>> I have something that appears to be a simple problem but I didn’t find
>>> anything useful anywhere. My problem is that my text in a template next to
>>> a Django tag keeps auto capitalizing but I don’t want this to happen.
>>>
>>>
>>>
>>> In the image above you can see that m³/ano and m² is not capitalized at
>>> all. But bellow my text keeps capitalizing.
>>>
>>>
>>>
>>>
>>>
>>> How can I prevent that to happen?
>>>
>>>
>>>
>>> --
>>> 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/55BF1950-88D1-47E5-9654-18039E00E75E%40hxcore.ol
>>> 
>>> .
>>>
>> --
>> 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/CAKeCWo_m7UqF-HLXr0Y%3DgzO9Puu%2BKCuA_mKF86-TPg3sv8QjXw%40mail.gmail.com
>> 
>> .
>>
> --
> Gabrielstone
>
> --
> 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/CAL-5MpXOhhj-ktjZrZqYmUbF6U933j9MFJr-cCmf67JcMxxO0A%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/CAOJT-cDo50jVF-QCZDWaoTTNQ4yrk3BnC2sszsp6a%3DgyhGmcOg%40mail.gmail.com.


Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread 712189512
Put that in a span and use css text-transform and set it to lowercase

On Tue, 18 May 2021 at 13:18 Samuel Nogueira  wrote:

> Unfortunately didnt worked
>
>
> Em ter., 18 de mai. de 2021 às 10:03, RANGA BHARATH JINKA <
> bharathjink...@gmail.com> escreveu:
>
>> Hi,
>>
>> Try this jinja templating lower filter
>>
>> {{ 'helLo WOrlD'|lower }}
>>
>>
>> On Tue, May 18, 2021 at 6:26 PM David Tobrise 
>> wrote:
>>
>>> What happens if you try outputting the units from dynamically instead of
>>> hard-coding it?
>>>
>>> *Best Regards,*
>>> *David O. T.*
>>>
>>>
>>>
>>>
>>> On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar <
>>> hu3mule...@gmail.com> wrote:
>>>
 Hi guys!

 I have something that appears to be a simple problem but I didn’t find
 anything useful anywhere. My problem is that my text in a template next to
 a Django tag keeps auto capitalizing but I don’t want this to happen.



 In the image above you can see that m³/ano and m² is not capitalized at
 all. But bellow my text keeps capitalizing.





 How can I prevent that to happen?



 --
 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/55BF1950-88D1-47E5-9654-18039E00E75E%40hxcore.ol
 
 .

>>> --
>>> 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/CAKeCWo_m7UqF-HLXr0Y%3DgzO9Puu%2BKCuA_mKF86-TPg3sv8QjXw%40mail.gmail.com
>>> 
>>> .
>>>
>>
>>
>> --
>> Thanks and Regards
>>
>> J. Ranga Bharath
>> cell: 9110334114
>>
>> --
>> 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/CAK5m316_JKZ3hZFoZMm8zy01ZVm_wyeh%3DjtvYDNAYcpK7rMN3Q%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/CAOJT-cDrh83_30EhmJvuVfcd0QqtNc_Le%2BJFAexbXOOsFqhFUw%40mail.gmail.com
> 
> .
>
-- 
Gabrielstone

-- 
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/CAL-5MpXkGPmLT8UUcmE0i9%2B7uLrf%3DWRhJ5482Pm0xs8QZBHzDQ%40mail.gmail.com.


Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Samuel Nogueira
I didnt tried this yet, maybe should.


Em ter., 18 de mai. de 2021 às 09:55, David Tobrise 
escreveu:

> What happens if you try outputting the units from dynamically instead of
> hard-coding it?
>
> *Best Regards,*
> *David O. T.*
>
>
>
>
> On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar <
> hu3mule...@gmail.com> wrote:
>
>> Hi guys!
>>
>> I have something that appears to be a simple problem but I didn’t find
>> anything useful anywhere. My problem is that my text in a template next to
>> a Django tag keeps auto capitalizing but I don’t want this to happen.
>>
>>
>>
>> In the image above you can see that m³/ano and m² is not capitalized at
>> all. But bellow my text keeps capitalizing.
>>
>>
>>
>>
>>
>> How can I prevent that to happen?
>>
>>
>>
>> --
>> 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/55BF1950-88D1-47E5-9654-18039E00E75E%40hxcore.ol
>> 
>> .
>>
> --
> 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/CAKeCWo_m7UqF-HLXr0Y%3DgzO9Puu%2BKCuA_mKF86-TPg3sv8QjXw%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/CAOJT-cAAhgPYGMb6X_D-zatdeE34KabJKZdi8HjjJSEhZ4c%3DeQ%40mail.gmail.com.


Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Samuel Nogueira
Unfortunately didnt worked


Em ter., 18 de mai. de 2021 às 10:03, RANGA BHARATH JINKA <
bharathjink...@gmail.com> escreveu:

> Hi,
>
> Try this jinja templating lower filter
>
> {{ 'helLo WOrlD'|lower }}
>
>
> On Tue, May 18, 2021 at 6:26 PM David Tobrise 
> wrote:
>
>> What happens if you try outputting the units from dynamically instead of
>> hard-coding it?
>>
>> *Best Regards,*
>> *David O. T.*
>>
>>
>>
>>
>> On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar <
>> hu3mule...@gmail.com> wrote:
>>
>>> Hi guys!
>>>
>>> I have something that appears to be a simple problem but I didn’t find
>>> anything useful anywhere. My problem is that my text in a template next to
>>> a Django tag keeps auto capitalizing but I don’t want this to happen.
>>>
>>>
>>>
>>> In the image above you can see that m³/ano and m² is not capitalized at
>>> all. But bellow my text keeps capitalizing.
>>>
>>>
>>>
>>>
>>>
>>> How can I prevent that to happen?
>>>
>>>
>>>
>>> --
>>> 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/55BF1950-88D1-47E5-9654-18039E00E75E%40hxcore.ol
>>> 
>>> .
>>>
>> --
>> 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/CAKeCWo_m7UqF-HLXr0Y%3DgzO9Puu%2BKCuA_mKF86-TPg3sv8QjXw%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> Thanks and Regards
>
> J. Ranga Bharath
> cell: 9110334114
>
> --
> 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/CAK5m316_JKZ3hZFoZMm8zy01ZVm_wyeh%3DjtvYDNAYcpK7rMN3Q%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/CAOJT-cDrh83_30EhmJvuVfcd0QqtNc_Le%2BJFAexbXOOsFqhFUw%40mail.gmail.com.


Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread 712189512
It’s not django that’s doing that,have you checked your css?

On Tue, 18 May 2021 at 12:56 David Tobrise  wrote:

> What happens if you try outputting the units from dynamically instead of
> hard-coding it?
>
> *Best Regards,*
> *David O. T.*
>
>
>
>
> On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar <
> hu3mule...@gmail.com> wrote:
>
>> Hi guys!
>>
>> I have something that appears to be a simple problem but I didn’t find
>> anything useful anywhere. My problem is that my text in a template next to
>> a Django tag keeps auto capitalizing but I don’t want this to happen.
>>
>>
>>
>> In the image above you can see that m³/ano and m² is not capitalized at
>> all. But bellow my text keeps capitalizing.
>>
>>
>>
>>
>>
>> How can I prevent that to happen?
>>
>>
>>
>> --
>> 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/55BF1950-88D1-47E5-9654-18039E00E75E%40hxcore.ol
>> 
>> .
>>
> --
> 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/CAKeCWo_m7UqF-HLXr0Y%3DgzO9Puu%2BKCuA_mKF86-TPg3sv8QjXw%40mail.gmail.com
> 
> .
>
-- 
Gabrielstone

-- 
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/CAL-5MpXOhhj-ktjZrZqYmUbF6U933j9MFJr-cCmf67JcMxxO0A%40mail.gmail.com.


Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread RANGA BHARATH JINKA
Hi,

Try this jinja templating lower filter

{{ 'helLo WOrlD'|lower }}


On Tue, May 18, 2021 at 6:26 PM David Tobrise  wrote:

> What happens if you try outputting the units from dynamically instead of
> hard-coding it?
>
> *Best Regards,*
> *David O. T.*
>
>
>
>
> On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar <
> hu3mule...@gmail.com> wrote:
>
>> Hi guys!
>>
>> I have something that appears to be a simple problem but I didn’t find
>> anything useful anywhere. My problem is that my text in a template next to
>> a Django tag keeps auto capitalizing but I don’t want this to happen.
>>
>>
>>
>> In the image above you can see that m³/ano and m² is not capitalized at
>> all. But bellow my text keeps capitalizing.
>>
>>
>>
>>
>>
>> How can I prevent that to happen?
>>
>>
>>
>> --
>> 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/55BF1950-88D1-47E5-9654-18039E00E75E%40hxcore.ol
>> 
>> .
>>
> --
> 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/CAKeCWo_m7UqF-HLXr0Y%3DgzO9Puu%2BKCuA_mKF86-TPg3sv8QjXw%40mail.gmail.com
> 
> .
>


-- 
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

-- 
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/CAK5m316_JKZ3hZFoZMm8zy01ZVm_wyeh%3DjtvYDNAYcpK7rMN3Q%40mail.gmail.com.


Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread David Tobrise
What happens if you try outputting the units from dynamically instead of
hard-coding it?

*Best Regards,*
*David O. T.*




On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar <
hu3mule...@gmail.com> wrote:

> Hi guys!
>
> I have something that appears to be a simple problem but I didn’t find
> anything useful anywhere. My problem is that my text in a template next to
> a Django tag keeps auto capitalizing but I don’t want this to happen.
>
>
>
> In the image above you can see that m³/ano and m² is not capitalized at
> all. But bellow my text keeps capitalizing.
>
>
>
>
>
> How can I prevent that to happen?
>
>
>
> --
> 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/55BF1950-88D1-47E5-9654-18039E00E75E%40hxcore.ol
> 
> .
>

-- 
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/CAKeCWo_m7UqF-HLXr0Y%3DgzO9Puu%2BKCuA_mKF86-TPg3sv8QjXw%40mail.gmail.com.


how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread samuel nogueira bacelar
Hi guys!I have something that appears to be a simple problem but I didn’t find anything useful anywhere. My problem is that my text in a template next to a Django tag keeps auto capitalizing but I don’t want this to happen. In the image above you can see that m³/ano and m² is not capitalized at all. But bellow my text keeps capitalizing.  How can I prevent that to happen? 



-- 
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/55BF1950-88D1-47E5-9654-18039E00E75E%40hxcore.ol.