Re: db selection from login form (a multi db app)

2019-05-12 Thread acheraime
Why would you need a db/fiscal year?

Sent from my iPhone

> On May 12, 2019, at 4:53 PM, Taimoor Qureshi  
> wrote:
> 
> Im quiet new to django. and working on a project of Accounting app in which i 
> want separate db for each fiscal year. so at the time of login their will be 
> a drop-down field of fiscal year for all values their will be a  corresponded 
> db.
> 
> any clue how to implement?
> roadmap?
> 
> TIA
> -- 
> 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/f09ec038-1f02-4f7a-9cf5-54007f9bd292%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/EFEA0B93-DB4A-4CD2-BD39-D2744AD2667C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: ReportLab or Xhtml2pdf Please can any one guide me to convert the rendered in html to pdf

2019-04-19 Thread acheraime
ReportLab is better then Xhtml2pdf but the former has a considerable learning 
curve the latter is easy to use but css get messy. Specifically css3.
Did you try weasyprint?

—
Adolphe

Sent from my iPhone

> On Apr 19, 2019, at 2:10 PM, Irfan Khan  wrote:
> 
> hi,
> i stucked in converting the pdf file from html
> can an one suggest me even any other possibility instead of using python 
> library 
> 
> -- 
> 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/6862bdc2-bb4f-4253-99de-7606a6b5ac2b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/E08AB4F6-1629-453B-9959-4E53C59AAEF8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New Add-On: Django Model Lifecycle Hooks

2018-03-31 Thread acheraime
Very interesting! Good job. Is this module supported in 1.11?



Sent from my iPhone

> On Mar 31, 2018, at 3:18 PM, George Silva  wrote:
> 
> From Reading the readme this looks promising.
> 
> Congrats!
> 
> I might use this soon.
> 
> Em sáb, 31 de mar de 2018 15:50, Robert Singer  
> escreveu:
>> Hey there - 
>> 
>> I just wanted to let community know about a small add-on I wrote in order to 
>> add Rails-style hooks/callbacks to Django models. 
>> https://github.com/rsinger86/django-lifecycle
>> 
>> Feedback welcome and appreciated :)
>> 
>> Cheers. 
>> -- 
>> 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/f1fbb963-2d36-46b3-ba76-7781c074918a%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAGyPVTuRCtt3SHwTR7%3DehKZzwcV-kMOCbOkdiJyMH%3DFgu4uZnA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1D6CD5F7-F2B5-4FA5-911F-0C192EB7BEEB%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Chart library for django

2017-03-06 Thread acheraime .
In one of my project I've used django-nvd3 (
https://github.com/areski/django-nvd3). It's a python/django abstraction
layer to d3.js.

On Mon, Mar 6, 2017 at 12:03 PM, Melvyn Sopacua 
wrote:

> On Monday 06 March 2017 12:04:16 Vijay Khemlani wrote:
>
> > Rendering server-side charts is usually a mess, and the result
>
> > (usually a static image) is not as good as using a JS library.
>
>
>
> Well first - I count 10 of that grid without looking at details that use
> JS to render. So that's the majority. Secondly, even if we were rendering
> graphs at the server - that is a matter of choice each with its own pro's
> and cons.
>
> Yes, JS graphs, especially those that are canvas based have come a long
> way in rendering capabilities. But the quality for the end user is
> unpredictable as is the performance, whereas the server has predictable and
> manageable resources - what is more important is defined by the project
> requirements.
>
>
>
> Display quality of server side generated images may exceed JS rendered,
> depending on how far you're willing to take the rendering. The cost of
> sending a graph is that has not altered its data can be minimized with
> server side caching techniques such as nginx's proxy_store directive.
>
>
>
> > It also encourages separation of concerns between the frontend and
>
> > backend
>
>
>
> But there are concerns that are tied together:
>
> - the data, duh
>
> - graph type often depending on data
>
> - title, legend, labels
>
>
>
> All this is dictated by the content at the server and has to be injected
> into js via template rendering. The packages in that grid aim to do just
> that (and I cound 3 that use highcharts).
>
> --
>
> Melvyn Sopacua
>
> --
> 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/4339883.fqjLW2Zd6i%40devstation
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 


*Adolphe CHER-AIME*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BfkitLEDOrsajbaqThJH1RvL3QB5Kid12Onj4-LFMqZLMEO8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Single Page Application in Django

2016-03-07 Thread acheraime .
Django Rest Framework. A powerful framework to build REST API on top of
Django.

Here's the link http://www.django-rest-framework.org/

On Mon, Mar 7, 2016 at 9:19 AM, Bob Gailer  wrote:

>
> On Mar 7, 2016 7:04 AM, "Avraham Serour"  wrote:
> >
> >  DRF
> I'll bite - what is DRF? Google does not help with that.
>
> --
> 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/CAP1rxO7AxoUPEpw85at7dRmAuRWL8FTZAok9-dkO24%3Dh2M7KdA%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 


*Adolphe CHER-AIME*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BfkitJN9MXA2LPchwxxZyG6p8edN0axihGaoRqum8KxguPVsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: SWFL Django users

2014-07-08 Thread acheraime
I'm in Bradenton / Sarasota

Sent from my iPhone

> On Jul 8, 2014, at 6:12 AM, Larry Martell  wrote:
> 
>> On Tue, Jul 8, 2014 at 12:07 AM, Janelle O'Dea  wrote:
>> Anybody in Southwest Florida who uses Django?
> 
> I am in Venice.
> 
> -- 
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CACwCsY5f5m528ExJbsDBk-0LhJhCgdu7pA0GWv5SVX00LGwvtw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5CC7915E-F5E1-4CB3-8C54-0CE2027F2C58%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django Signal DataBase Change on Template

2013-08-01 Thread acheraime
Hi,

Flot is your friend. Http://flotgraphs.org




Sent from my iPhone

On Aug 1, 2013, at 10:54 AM, Saif Jerbi  wrote:

> I'm building a GPS Tracking System using Django, i should have a grid on my 
> template that display real time information of cars (position,vitesse, 
> temperature...). GPS send data to Postgres DataBase via a module that parse 
> Data and saved it in specific table. What i need is how to make my Web App 
> display data in real time? (when a row is inserted in Db, how can i display 
> it in grid)
> 
> i tried this package https://pypi.python.org/pypi/django-db-signals/0.1.1, 
> but my DataParser is external from my django web app, it work independently 
> from other side
> 
> -- 
> 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 http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: flot not working when page is served by Django

2013-04-28 Thread acheraime
I'm experiencing the same issue. Would be great if someone could help fix it.




Sent from my iPhone

On Apr 28, 2013, at 6:17 PM, mplumb  wrote:

> Hi all,
> 
> I'm trying to get any simple flot graph to display at this point. my 
> index.html template file is as shown below. If I load the html file in a 
> browser directly it works great.  When served through django dev server the 
> page is blank.
> I have added the following to my settings to ensure that i am pointing to 
> directory where js libraries are:
> 
>STATICFILES_DIRS = {
>   '/home/matt/Web/flot',
>}
> 
> There are no errors in the dev server console when loading the page.
> 
> Any ideas? 
> 
> Thanks.
> 
> Matt
> 
> 
> 
>   
>   Sample chart
>rel="stylesheet" type="text/css">
>  
>src="file:///home/matt/Web/flot/jquery.js">
>src="file:///home/matt/Web/flot/jquery.flot.js">
>src="file:///home/matt/Web/flot/jquery.flot.pie.js">
>   
>   
>   $(document).ready(function () {
> 
>   var data = [
>   { label: "IE",  data: 19.5},
>   { label: "Safari",  data: 4.5},
>   { label: "Firefox",  data: 36.6},
>   { label: "Opera",  data: 2.3},
>   { label: "Chrome",  data: 36.3},
>   { label: "Other",  data: 0.8}
>   ];
> 
>   $.plot($("#placeholder"), data, 
>   {
>   series: {
>   pie: { 
>   show: true
>   }
>   },
>   legend: {
>   show: false
>   }
>   });
> 
>   // Add the Flot version string to the footer
> 
>   $("#footer").prepend("Flot " + $.plot.version + " – ");
>   });
> 
>   
> 
> 
> 
> 
> 
>   
>   
>   
> 
> 
> 
> -- 
> 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 http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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 http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Happy new year

2013-01-01 Thread acheraime
Happy new year from Miami FL

Sent from my iPhone

On Jan 1, 2013, at 1:36 AM, Master Jacob  wrote:

> Happy new year from TEXAS!
> 
> On Dec 31, 2012 11:49 PM, "JOSE LUIS FABREGA"  wrote:
>> Feliz año nuevo, desde venezuela 
>> 
>> ¡Le deseamos lo mejor !
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/django-users?hl=en.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Converting Django app into a Desktop app

2012-12-18 Thread acheraime
Use a module like tastiepy develop your desktop client in your preferred 
language and have it communicate to django via REST.

Sent from my iPhone

On Dec 18, 2012, at 1:43 PM, Jonas Geiregat  wrote:

> 
> 
>> Hi
>> 
>> I am very comfortable with Django, and I was wondering about whether there 
>> is some way to convert a Django web app into a Desktop app (may be not 
>> 100%), so that I can distribute it to users. May be wrapping it in a light 
>> web server "if there is something like this". 
>> 
> 
> You might try http://www.python-camelot.com/ 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.