The best editor is the ONE that works BEST for YOU!!! Try several and then pick the one that YOU like the best.  Everyone has their personal favorites!!!

On Monday, 03 September, 2018 09:08 AM, Joel wrote:
One can carry on discussion about something as subjective as "best text editor" for days and still not be done. IMO, this is a silly question to be asking in a django group.

On Mon 3 Sep, 2018, 3:16 AM victor jack, <jags4rea...@gmail.com <mailto:jags4rea...@gmail.com>> wrote:

    More like vim and vs code are the best editors

    On Sun, 2 Sep 2018 06:51 RONAK JAIN, <jainronak...@gmail.com
    <mailto:jainronak...@gmail.com>> wrote:

        Atom is best editor.

        On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas,
        <sankarard...@gmail.com <mailto:sankarard...@gmail.com>> wrote:


            Hi to all,
            Which is the best editor for django framework in Ubuntu os
            18.04

            Get Outlook for Android <https://aka.ms/ghei36>




            On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN"
            <jainronak...@gmail.com <mailto:jainronak...@gmail.com>>
            wrote:

                Namaste !!

                Dear ,

                I have two models categories and Project.

                 created like that :

                class Category(models.Model):
                    categorys =
                models.ManyToManyField('Category',blank=True)
                    name = models.CharField(max_length=100)
                    created_at = models.DateTimeField(auto_now=False,
                auto_now_add=True)
                    updated_at = models.DateTimeField(auto_now=True)



                    class Meta:
                        verbose_name_plural = "Categories"

                    def __str__(self):
                        return self.name <http://self.name>

                    def __unicode__(self):
                        return self.categorys

                class Project(models.Model):
                    categorys =
                models.ManyToManyField('Category',blank=True)
                    name = models.CharField(max_length=100)
                    description = models.CharField(max_length=100)
                    created_at = models.DateTimeField(auto_now=False,
                auto_now_add=True)
                    updated_at = models.DateTimeField(auto_now=True)
                    photo = models.ImageField(upload_to="pictures")


                    def __str__(self):
                        return self.name <http://self.name>

                    def __unicode__(self):
                        return self.categorys

                *and Views I did here :*
                *
                *
                *from web.models import Category,Project*

                class Portfolio(TemplateView):
                    template_name = "web/protfolio.html"

                    def post(self, request, *args, **kwargs):
                        context = self.get_context_data()
                        return super(TemplateView,
                self).render_to_response(context)
                    def portfolio(request):
                          context = RequestContext(request)
                          # Project_list =
                Project.objects.order_by('-likes')[:3]
                          # context_dict = {'Project': project_list}
                          # return render(template_name, context_dict,
                context
                          brand_list = Category.objects.all()
                          return render(template_name, {'brand_list' :
                brand_list}, context)

                *I need correct relationship both I mean project and
                categories. How can I do correct here ? *
                Note : I attached picture please analyse briefly.

                How to do approch html page and   I want  the
                html(view) page should load from our db.
                please give me quickly answer.
                How can i do ?


                Thanks
                Ronak
-- 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
                <mailto:django-users+unsubscr...@googlegroups.com>.
                To post to this group, send email to
                django-users@googlegroups.com
                <mailto: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/63ecd6f1-411a-4581-b245-296efbd49303%40googlegroups.com
                
<https://groups.google.com/d/msgid/django-users/63ecd6f1-411a-4581-b245-296efbd49303%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
            <mailto:django-users+unsubscr...@googlegroups.com>.
            To post to this group, send email to
            django-users@googlegroups.com
            <mailto: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/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.com
            
<https://groups.google.com/d/msgid/django-users/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.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
        <mailto:django-users+unsubscr...@googlegroups.com>.
        To post to this group, send email to
        django-users@googlegroups.com
        <mailto: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%2BAqMUcMUft6Wfa_YUzhRshp4vDF4fT5UxfUfUh2XeazH%2BxSxQ%40mail.gmail.com
        
<https://groups.google.com/d/msgid/django-users/CA%2BAqMUcMUft6Wfa_YUzhRshp4vDF4fT5UxfUfUh2XeazH%2BxSxQ%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
    <mailto:django-users+unsubscr...@googlegroups.com>.
    To post to this group, send email to django-users@googlegroups.com
    <mailto: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/CABkm6MWchCmrznG6DuHEpsSWF6b7mDxiMoHopmYovXDbSg-YXA%40mail.gmail.com
    
<https://groups.google.com/d/msgid/django-users/CABkm6MWchCmrznG6DuHEpsSWF6b7mDxiMoHopmYovXDbSg-YXA%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 <mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com <mailto: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/CAA%3Diw_8_7bkJ9%2BjvUy9oOpqXZb_Dw1O2krV7d%3D1Wxy3ENRW-xw%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAA%3Diw_8_7bkJ9%2BjvUy9oOpqXZb_Dw1O2krV7d%3D1Wxy3ENRW-xw%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/16a4ced7-dda8-4499-b38c-325d7238badf%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to