Re: I made my first Django app, its goal is to generate a styleguide from your scss files

2018-07-12 Thread Carlo Ascani
Il giorno gio 12 lug 2018 alle ore 16:44 Melvyn Sopacua ha scritto: > > First and foremost: awesome job. > Thank you! > On donderdag 12 juli 2018 14:38:16 CEST Carlo Ascani wrote: > > > More details, if interested: https://gitlab.com/2pxsolidblack/django-marple > >

I made my first Django app, its goal is to generate a styleguide from your scss files

2018-07-12 Thread Carlo Ascani
Hi all, I just made my very first django reusable application. Its goal is to create a styleguide starting from your scss files. I would say that it is very frontend-developers-oriented (as I am). More details, if interested: https://gitlab.com/2pxsolidblack/django-marple Best, Carlo -- You r

Re: What is the best route to take to build a general CMS using Django?

2018-07-11 Thread Carlo Ascani
;> https://groups.google.com/d/msgid/django-users/CAHV4E-ehvW9dxiGD3phywPByQ_JoN6MkvwAw13aGXjNH5Tagjg%40mail.gmail.com. >>> >>> For more options, visit https://groups.google.com/d/optout. >> >> > -- > You received this message because you are subscribed to the

Re: Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-04 Thread Carlo Ascani
p/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/04c94ebb-93c9-4fce-9384-2ce4c4254cff%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Carlo Ascani aka carloratm http://carlo.ratm.gitlab.io carloratm@free

I wrote a very basic Django app - Looking for a mentor

2018-06-12 Thread Carlo Ascani
Hi all, I wrote a simple Django 2.0 app I would like to distribute. I am a frontend developer, so my Python code could be a bit meh, that is why I am looking for someone you would like to mentor me and helo releasing a good quality codebase. The app does one simple thing: it crawls the sass fi

Re: Multisite strategy

2018-05-31 Thread Carlo Ascani
ank you! Is it possible to change the current site at runtime? > > []'s > Daniel Germano Travieso > Engenharia da Computação Turma: 013 > Unicamp > > On Tue, May 22, 2018 at 3:31 AM, Carlo Ascani wrote: >> >> Hi all, >> >> I'd like to impl

Multisite strategy

2018-05-21 Thread Carlo Ascani
Hi all, I'd like to implement something like this: One Django project to serve 3 sites: 1. `domain.com` which is the "master" site, containing just a landing page 2. `de.domain.com` which is the "German" site 3. `en.domain.com` which is the "UK" site `de` and `en` refers the location, not the la

Re: Question about m2m and forms

2017-04-02 Thread Carlo Ascani
Il giorno sabato 18 febbraio 2017 11:02:25 UTC+1, Carlo Ascani ha scritto: > > > > Il giorno venerdì 17 febbraio 2017 20:09:15 UTC+1, Matthew Pava ha scritto: >> >> Hi Carlos, >> You probably want to create a new widget and override its >> labe

Re: Implementing a basic search for my website

2017-02-21 Thread Carlo Ascani
Thank you for all the answers! Given that I am implementing this for a demo purpose, I do not care about performances. I think I am going to do the 2 queries approach for the demo, then I would use a FTS engine in the future. Thanks a lot Carlo Il giorno martedì 21 febbraio 2017 02:09:46 UTC

Implementing a basic search for my website

2017-02-20 Thread Carlo Ascani
Hi all, I am just trying to add a search funcionality to my frontend. I know it is a huge topic, so sorry my n00bih questions. I have a model A class A(models.Model): roles = models.ManyToManyField(B) location = models.ForeignKey(C) ... These 2 fields are the only fields I care abou

Re: Question about m2m and forms

2017-02-18 Thread Carlo Ascani
Il giorno venerdì 17 febbraio 2017 20:09:15 UTC+1, Matthew Pava ha scritto: > > Hi Carlos, > You probably want to create a new widget and override its > label_from_instance method. > > class BModelMultipleChoiceField(forms.ModelMultipleChoiceField): > def label_from_instance(self, obj

Question about m2m and forms

2017-02-17 Thread Carlo Ascani
his: [ ] to_b_value_1 (34) [ ] to_b_value_2 (12) [ ] to_b_value_3 (3) ... Is that possible? Thank you in advance Best, Carlo -- Carlo Ascani aka carloratm Frontend Developer www.carlorat.me carloratm@freenode -- You received this message because you are subscribed to the Google Groups "Djang

Re: Trying to make a POST call to a Django view

2016-05-02 Thread Carlo Ascani
Groups "Django users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-users/pRkBho_TZrQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > django-users+unsubscr...@googlegroups.com. > To post to this