Re: How to Minify, obfuscate, and compress django code

2017-08-10 Thread Antonis Christofides
Hi,

while it is not entirely clear what the original poster wants, if he's referring
to JavaScript then django-compressor provides some support for that.

Regards,

Antonis

Antonis Christofides
http://djangodeployment.com

On 2017-08-10 03:43, Bernd Wechner wrote:
> I'm a little confused as to what this has to do with Django, which runs server
> side. The code it emits to the client is limited to what you put in your
> templates, including perhaps the widgets that django provides for forms.
>
> I use a lot of javascript in my forms, and it's my responsibility to minify
> that and include links to the minified code in my templates in production (and
> unminified in development) but these are all django unrelated build issues.
> And solving them depends on django unrelated tool sets you're using.
>
> -- 
> 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/6a306671-399e-40bc-bee0-cf5837d7c5f6%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/4a43b8fb-9181-07d4-a6fd-8a3c357f6115%40djangodeployment.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to Minify, obfuscate, and compress django code

2017-08-09 Thread Bernd Wechner
I'm a little confused as to what this has to do with Django, which runs 
server side. The code it emits to the client is limited to what you put in 
your templates, including perhaps the widgets that django provides for 
forms.

I use a lot of javascript in my forms, and it's my responsibility to minify 
that and include links to the minified code in my templates in production 
(and unminified in development) but these are all django unrelated build 
issues. And solving them depends on django unrelated tool sets you're using.

-- 
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/6a306671-399e-40bc-bee0-cf5837d7c5f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to Minify, obfuscate, and compress django code

2017-08-09 Thread Mike Dewhirst
Have a look in __py cache__

Connected by Motorola

hin Account  wrote:

>Hi All,
>
>I am developing one products using the django framework.  I don't to share the 
>my source code with the client. I just want to share the obfuscated code with 
>client. Please tell me how to do the same in django? 
>
>
>-- 
>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/2228c7ab-6e2b-4492-a2a7-84d8a59bbeb9%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/eneoixa9g7igustijg7liswd.1502325041815%40email.android.com.
For more options, visit https://groups.google.com/d/optout.


How to Minify, obfuscate, and compress django code

2017-08-09 Thread hin Account
Hi All,

I am developing one products using the django framework.  I don't to share 
the my source code with the client. I just want to share the obfuscated 
code with client. Please tell me how to do the same in django? 

-- 
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/2228c7ab-6e2b-4492-a2a7-84d8a59bbeb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.