I'm not sure how changing the directory structure here would help you,
and even if it does, it may hinder someone else.

If you have something specific you need to do for your own
application, feel free to modify the directory layout for your usage.
That's what the MIT license is there for.

-David

On Sat, Mar 28, 2009 at 2:39 AM, Kless <jonas....@googlemail.com> wrote:
>
> I mean, that the general (and recommended) structure for projects
> Django is to put the static files in './static', and for js in './
> static/js'
>
> http://ericholscher.com/projects/django-conventions/project/
>
> So, if we use too the JQuery JS for our project, we have several files
> with the same script; one on './static/djblets/js/jquery-min*.js' and
> another one in './static/js/jquery-min*.js'.
>
>
> On 28 mar, 08:31, Christian Hammond <chip...@chipx86.com> wrote:
>> I'm not sure what you mean. Extensions won't bundle jQuery, they'll use
>> Djblets's version. Or are you talking about something else?
>>
>> Christian
>>
>> --
>> Christian Hammond - chip...@chipx86.com
>> Review Board -http://www.review-board.org
>> VMware, Inc. -http://www.vmware.com
>>
>> On Sat, Mar 28, 2009 at 1:24 AM, Kless <jonas....@googlemail.com> wrote:
>>
>> > not even for JS? Because many users use JQuery so that we'll the same
>> > JS scripts in './static/js/' and './static/djblets/js/'.
>>
>> > On 27 mar, 20:20, Christian Hammond <chip...@chipx86.com> wrote:
>> > > There are no plans to change this structure. We're keeping it as
>> > > appname/filetype. This will be important for extensions down the road,
>> > since
>> > > they'll be installing into and uninstalling from their own directories,
>> > and
>> > > we don't want them to be at all touching anything in Review Board,
>> > Djblets,
>> > > etc.-owned directories.
>>
>> > > Christian
>>
>> > > --
>> > > Christian Hammond - chip...@chipx86.com
>> > > Review Board -http://www.review-board.org
>> > > VMware, Inc. -http://www.vmware.com
>>
>> > > On Fri, Mar 27, 2009 at 6:52 AM, Kless <jonas....@googlemail.com> wrote:
>>
>> > > > Could be changed your structure of static files?
>>
>> > > >http://svn.navi.cx/misc/trunk/djblets/djblets/media/
>>
>> > > > If were as:
>>
>> > > > css/djblets/
>> > > > img/djblets/
>> > > > js/
>>
>> > > > would be more easy that were integrated in another projects.
>>
>> > > > In addition, if all apps. were to use a structure as /static/app/
>> > > > {css,js,img} would be a chaos.
>>
>> > > > It would be better if the apps. would create a structure as '/static/
>> > > > css/app/', '/static/img/app/', '/static/js/'. Just as it's used in
>> > > > 'templates'.
> >
>

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

Reply via email to