ModelAdmin Media assets with django 1.8

2020-06-11 Thread Amirouche Boubekki
Using Django 1.8, I do not understand what is the behavior of `Media` [0] inside a `ModelAdmin` subclass. In particular, whether the default behavior of form's media is applied in `ModelAdmin` that is: `extend=True` [1] I am under the impression that the behavior is implemented in

[ANN] copernic v0.1.1, Versioned structured data, with change-request mechanic, at scale.

2020-02-23 Thread Amirouche Boubekki
I am pleased to announce the immediate availability of copernic v0.1.1. This project wants to be a scalable application that support a change-request mechanic similar to github pull-request or gitlab merge-request, on any structured data. That includes relational data, graph-like data and

Re: [ANN] copernic v0.0.0

2020-02-19 Thread Amirouche Boubekki
On Monday, February 17, 2020 at 11:13:38 PM UTC+1, Amirouche Boubekki wrote: > > I am very pleased to announce that I will work on porting my work on a > versioned database (read: scalable wikidata) to Python and Django. > > If you want to know more and follow the de

[ANN] copernic v0.0.0

2020-02-17 Thread Amirouche Boubekki
I am very pleased to announce that I will work on porting my work on a versioned database (read: scalable wikidata) to Python and Django. If you want to know more and follow the development watch this: https://github.com/amirouche/copernic Cheers, Amirouche ~ https://hyper.dev -- You

Re: File upload error

2015-02-25 Thread Amirouche Boubekki
Héllo again (at last) On Mon, Feb 16, 2015 at 11:20 AM Sola Chong wrote: > I having a error "*expected string or buffer*" when submit to upload > avatar when edit profile. Can't figure out what is the problem.. > I've setup a small project with your code (and small

Re: File upload error

2015-02-16 Thread Amirouche Boubekki
Héllo Sola, Can you post the full stacktrace not only the error? Regards On Mon Feb 16 2015 at 11:20:42 AM Sola Chong wrote: > I having a error "*expected string or buffer*" when submit to upload > avatar when edit profile. Can't figure out what is the problem.. > >

Re: Django for latex

2015-01-23 Thread Amirouche Boubekki
On Fri Jan 23 2015 at 1:28:13 PM Hitesh Sofat wrote: > I want to generate pdf using latex. Please guide me for this , anybody > having any tutorial please share it here. > You might be interested by weasyprint . It can generate pdf from html

Re: Guidance needed - Real time and django

2014-09-02 Thread Amirouche Boubekki
cumentation of gevent-socketio <https://github.com/abourget/gevent-socketio/blob/master/docs/source/index.rst> at some point there was a wrapper for django. > > On Mon, Sep 1, 2014 at 3:09 AM, Amirouche Boubekki < > amirouche.boube...@gmail.com> wrote: > >> Hello, &

Re: Guidance needed - Real time and django

2014-08-31 Thread Amirouche Boubekki
Hello, 2014-08-29 17:26 GMT+02:00 Aamu Padi : > Hello, > I would like to build a real time web application, but have little idea of > where to start to from. It will have notification and feed system like > facebook or instagram. Would really appreciate if anyone who have

Re: cms web buyilding

2014-08-19 Thread Amirouche Boubekki
ango applications instead of «hijacking» a CMS. I'm not saying that webmaster don't help the craft, I say that they have different skills and do different jobs. > > > On Saturday, August 16, 2014 10:01:02 PM UTC+1, Amirouche Boubekki wrote: > >> Reading my answer on a desk

Re: Should I use generic foreign key, and how?

2014-08-17 Thread Amirouche Boubekki
2014-08-17 11:24 GMT+02:00 Vladimir Chukharev : > > > On Saturday, August 16, 2014 10:46:33 PM UTC+3, Aaron Law wrote: >> >> >> Hi all, >> >> I have php web programming background, and new to Django. I am helping my >> brother to build an online system to manage

Re: Should I use generic foreign key, and how?

2014-08-17 Thread Amirouche Boubekki
2014-08-16 21:45 GMT+02:00 Aaron Law : > > Hi all, > > I have php web programming background, and new to Django. I am helping my > brother to build an online system to manage inventory, and I've got a > database design & coding problem recently. Needing help! > > That is, I

Re: cms web buyilding

2014-08-16 Thread Amirouche Boubekki
Reading my answer on a desktop computer, doesn't inspire me much. So I rewrite here... Sorry for the triple post... 2014-08-16 18:59 GMT+02:00 : > > > À Sat Aug 16 2014 12:04:20 GMT+0200 (CEST), ngangsia akumbo a écrit : > > I was having an argument about learning

Re: cms web buyilding

2014-08-16 Thread amirouche . boubekki
À Sat Aug 16 2014 12:04:20 GMT+0200 (CEST), ngangsia akumbo a écrit : > I was having an augment about learning how to code from scratch and using > content management systems like joomla, dupal to build websites. > > This guy was telling they can make any web application using Joomla the the

Re: cms web buyilding

2014-08-16 Thread amirouche . boubekki
À Sat Aug 16 2014 12:04:20 GMT+0200 (CEST), ngangsia akumbo a écrit : > I was having an augment about learning how to code from scratch and using > content management systems like joomla, dupal to build websites. > > This guy was telling they can make any web application using Joomla the the

Re: Model Objects and Updating db via XML

2014-05-23 Thread Amirouche Boubekki
Héllo (again), 2014-05-14 22:41 GMT+02:00 Sayth Renshaw : > Thanks Tom, I have set up a way to extract the elements I want with > xmltodict and played with lxml.objectify last night and that would work as > well. > > But what exactly in django models am I using to bring

Re: Interesting Django project folder structure.

2014-04-23 Thread Amirouche Boubekki
2014-04-21 16:00 GMT+02:00 Tianyi Wang : > Today I was reading through > http://www.deploydjango.com/django_project_structure (great resource) > > The suggested folder structure for a Django project from this site is like > below: > (I'm only interested in layout for Django

Re: Prototype of an Online Voting System (I need some constructive criticism here)

2013-12-13 Thread Amirouche Boubekki
- «vq_chc.final_count += final_count» works well. > You need to use Django update or the operation is not atomic. -- 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

Re: Prototype of an Online Voting System (I need some constructive criticism here)

2013-12-13 Thread Amirouche Boubekki
Héllo Amimo, 2013/12/13 Amimo Benja > simple_prototype_of_online_voting_system > == > The name must be shorter. «voting_system» is good for instance > I am new to Django/Python. After a few tutorial, I have tried to develop > this app.

Re: Django/Web Programming Pattern

2013-11-14 Thread Amirouche Boubekki
Celery might overkill they are other more simple solutions that only involve your current database and cron jobs. Regards, Amirouche 2013/11/14 Jonathan Baker > You're welcome. I just set celery+rabbitmq up on a new project, and while > it can seem like a lot

Re: Invitations Apps

2013-11-08 Thread Amirouche Boubekki
e ya. > > > > 2013/11/8 Amirouche Boubekki <amirouche.boube...@gmail.com> > >> >> >> >> 2013/11/8 Avraham Serour <tovm...@gmail.com> >> >>> You could create a invitation model, I don't see the problem >>> but maybe you don

Re: Invitations Apps

2013-11-08 Thread Amirouche Boubekki
too, So here's the problem, AllAuth make it easy to login >> with social accounts but does not manage invitations. >> I do not want to reinvent the wheel but if nobody did this before I'm >> afraid that i have to put my hands in the dough. >> >> Cheers ! >>

Re: Invitations Apps

2013-11-07 Thread Amirouche Boubekki
Héllo Rafael, I don't know those particular applications, so I can't help. Do you have a specific problem? 2013/11/7 Rafael E. Ferrero > No body can help me? > > > 2013/11/7 Rafael E. Ferrero > > >> Has someone used some invitation app for

[ANN] Django-Tests-Assistant

2013-10-13 Thread Amirouche Boubekki
Héllo everyone and else, I'm pleased to announce the immediate availability of Tests Assistantan application that helps the developer to test manually an application. In it's current form it's a Django application that you can install in any

Re: PyCons in Africa

2013-10-06 Thread Amirouche Boubekki
Hi, Great initiative! On Friday, October 4, 2013 6:13:44 PM UTC+2, Daniele Procida wrote: > > First of all, apologies if you have to read this more than once because of > the cross-posting. > > I've had an idea brewing recently. > > I went to meet Professor Judith Hall this afternoon to talk

Re: Search from database

2013-07-23 Thread Amirouche Boubekki
Apache solr or ElasticSearch: yes Haystack: maybe Regex: no 2013/7/21 Kamal Kaur > We can search from database using phonetic codes or queries. I want an > advanced search module in my project. That can suggest similar > spellings from database, if user enters

Re: Search from database

2013-07-21 Thread Amirouche Boubekki
You have to build it yourself or use something like solr http://lucene.apache.org/solr/ I forgot the name other of the buzzing one. maybe Haystack has support for suggestion. 2013/7/20 Kamal Kaur > Can we have a search module in django that can suggest resembling >

Re: Big Picture?

2013-07-14 Thread Amirouche Boubekki
ttp://subhodipbiswas.wordpress.com > > > > On Sun, Jul 14, 2013 at 8:38 PM, Amirouche Boubekki < > amirouche.boube...@gmail.com> wrote: > >> >> >>> >>>> I normally dislike technical "diagrams", but this is simple and awesome

Re: Big Picture?

2013-07-14 Thread Amirouche Boubekki
> >> I normally dislike technical "diagrams", but this is simple and awesome >> :-) -- it's a really nice "big picture" and introduction to the different >> components that can be hard to visualize in one's head when just getting >> started .. do you mind if I use it when introducing people to

Re: Big Picture?

2013-07-14 Thread Amirouche Boubekki
2013/7/8 Sanjay Bhangar <sanjaybhan...@gmail.com> > > > > On Sun, Jul 7, 2013 at 7:05 AM, Amirouche Boubekki < > amirouche.boube...@gmail.com> wrote: > >> Hi, >> >> I have a diagram I call big picture, you might find it useful (see >> attachme

Re: Big Picture?

2013-07-14 Thread Amirouche Boubekki
2013/7/7 Amirouche Boubekki <amirouche.boube...@gmail.com> > Hi, > > I have a diagram I call big picture, you might find it useful (see > attachment). > > Anything green is most of the time provided by the framework at least it > is the case in Django. > > Anythi

Re: soundx algo in search

2013-07-10 Thread Amirouche Boubekki
Héllo again, It sound like not something I would do in my application but in a separate daemon. Basically what you need is call a fonction that will return a list of names. The «function» is initialised with a certains number of names that it can return, is that it ? 2013/7/9 Harjot Mann

Re: redirct page

2013-07-06 Thread Amirouche Boubekki
Hi, Redirection is done in the view after form processing et al. with redirect shortcut 2013/7/6 Kakar Arunachal Service > Hi, > I am having trouble with redirecting the login page to index

Re: Embedded documents doubts

2013-07-03 Thread Amirouche Boubekki
This is a mongodb database design issue, please forward your question to mongodb user mailling list. AFAIK, it only makes sens if the contact is used nowhere else. 2013/7/2 Hélio Miranda > Hi > I have an application in Django-Tastypie and MongoDB, where I have to > enter a

Re: Missing peice before best practises

2013-07-03 Thread Amirouche Boubekki
2013/7/1 Sayth Renshaw > > > On Monday, July 1, 2013, Tom Evans wrote: > >> On Mon, Jul 1, 2013 at 11:37 AM, Sayth Renshaw >> wrote: >> > Is that good though? >> > >> > Barring 2 scoops there is no new material to recognise and guide users >> to

Re: URL shorteners

2013-07-01 Thread Amirouche Boubekki
Héllo, Are you looking for an API for a shorturl service or a standalone app to make a short url service ? Amirouche 2013/7/1 Larry Martell > I'm looking for a URL shortener I can use with my django project. I > want to be able to email a short link to someone that

Re: django search query

2013-07-01 Thread Amirouche Boubekki
2013/7/1 Harjot Mann <harjotmann1...@gmail.com> > On Sun, Jun 30, 2013 at 11:18 PM, Amirouche Boubekki > <amirouche.boube...@gmail.com> wrote: > > You can do this by creating an extra field in the model with the name > > without vowels in it and doing a simple f

Re: django search query

2013-06-30 Thread Amirouche Boubekki
You can do this by creating an extra field in the model with the name without vowels in it and doing a simple filter on it ? Is that what you need ? 2013/6/30 Harjot Mann > On Sun, Jun 30, 2013 at 10:18 PM, Scot Hacker > wrote: > > This is

Re: Is here Ella cms (based on Django) users?

2013-06-13 Thread Amirouche Boubekki
2013/6/12 Pavel > thank you for review :) but i several days learn Ella > https://ella.readthedocs.org/en/latest/features.html > and i like it :) > > but i have some troubles. such as - > https://ella.readthedocs.org/en/latest/common_gotchas.html#creating-site-navigation >

Re: Point System in django

2013-06-13 Thread Amirouche Boubekki
2013/6/13 MattDale > A quick google didn't turn up any packages for your specific case, but you > may not want to use a pre-built solution. > Amirouche wanted some more information about how you plan on implementing > the project. > > Here's a simple concept: > It seems

Re: django's database system

2013-06-06 Thread Amirouche Boubekki
peewee looks more like django ORM 2013/6/5 Nikolas Stevenson-Molnar > Have you had a look at SQLAlchemy? http://www.sqlalchemy.org/ > > _Nik > > On 6/5/2013 3:29 AM, heni yemun wrote: > > Hi, > > I'm starting to develop some python

Re: Selecting site in admin

2013-05-29 Thread Amirouche Boubekki
Use groups maybe this can help http://stackoverflow.com/questions/8392780/django-admin-group-permissions-to-edit-or-view-models 2013/5/28 Mário Neto > Do you can this in your template > > > 2013/5/28 Victor > >> As a newbye I'm happily using admin. >>

[ANN] Python in the browser by Python

2013-05-09 Thread Amirouche Boubekki
Héllo, I just released a new version of PythonScript , a "variant" of Python that compiles to javascript. It should be very similar to CPython, but not the primary goal. Having something that's easy to work with (right now), without sacryfing for speed or

Re: Django lucene

2013-01-18 Thread Amirouche Boubekki
Héllo, I'm curious why do you use lucene instead of solr ? Thanks 2013/1/18 Harry Houdini > > I originally went down this path but I too ran into many problems getting > this to work and ended up using Whoosh instead. The site was small ~30 > pages or so it was still

Re: django: creating tag groups

2013-01-15 Thread Amirouche Boubekki
> Why are you creating two groups of tags ? Why not use a specific widgets >> like a tree widget ? >> > > Great idea! Think, I'll give this a try. > It's not the same UX though... > > Are you sure you use the good parameter to pass the queryset to the >> underlying Field >> > > It's just an

Re: How do I call a query set from views.py

2013-01-13 Thread Amirouche Boubekki
Héllo frocco, 2013/1/13 frocco > > in models.py > > def get_categories(self): > return self.objects.filter('category_class <> "sales' > Use classmethod decoratorto achieve that, like this: @classmethod

Re: Django performance vs others

2012-10-10 Thread Amirouche Boubekki
2012/10/10 Moonlight > I think this one > explains how it works. A quick read make me think it's a bit complex. Check out the routing benchmark too

Re: Managers, Queryset, inheritance and polymorphism

2012-10-09 Thread Amirouche Boubekki
Thx Lachlan, I'm not sure to understand everything, I think I will have to track this variables in the code to see how they are used. I found out about my bug, it was the import of a pyc that made all the machinery buggy. Thanks, Amirouche -- You received this message because you are

Re: Django performance vs others

2012-10-06 Thread Amirouche Boubekki
Héllo again, I was going to send the message in django-users then python-list then I though it wasn't good idea... If you think otherwise feel free to FW the discussion to the relevant list. First, sorry Stan for have been rude and using a rude language with you. What is wrong with hello

Re: Django performance vs others

2012-10-05 Thread Amirouche Boubekki
> > I have had no idea until recently that django template are sooo slow... > other engines do the same... but spent less time. What the cool feature > prevent it for rendering it faster? The template parsing I guess, but I'm not sure. -- You received this message because you are subscribed to