Re: Align Two buttons in a TD

2020-10-24 Thread Jason R
I'd wrap your td element in a container and display it as a flex element.
That will probably conflict with bootstrap though.

On Sat, Oct 24, 2020 at 7:27 PM Walter Randazzo 
wrote:

> Sorry, I forgot to attach the file. This is how the template looks like
> now:
>
> El sábado, 24 de octubre de 2020 a la(s) 20:19:27 UTC-3, Walter Randazzo
> escribió:
>
>> Hi Jhon thanks for replying:
>>
>> I was able to solve the aling issue following  the botstrapp
>> documentation about buttons. Here is the new code:
>>
>>   
>>
>> Editar> class="btn btn-primary btn-sm" href="{% url 'articulos:delete' 
>> articulos.codigo %}" role="button">Borrar
>>   
>>
>> Heres is the Template:
>>
>>
>> El sábado, 24 de octubre de 2020 a la(s) 20:06:30 UTC-3, John_Diddles
>> escribió:
>>
>>> Can you share the CSS?
>>>
>>> On Sat, Oct 24, 2020, 8:10 PM Walter Randazzo 
>>> wrote:
>>>
 Hi Folks,

 Im trying to get aligned 2 buttons in a TD but  they stay overlaped.
 Im attaching the html and the results.

 Hope u guys can help me,

 Many Thanks!


 --
 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...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/8cf82730-158f-4ef8-8770-fb92859afc03n%40googlegroups.com
 
 .

>>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/43d0d55c-d329-450d-852b-75968966f115n%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANQeD9taa5AgetTZNp%3D05kM6fvJab7kpU2ic2uEnHur2pMc1YA%40mail.gmail.com.


Re: django takes all my toys

2010-05-10 Thread Jason R. Leveille
On May 10, 9:31 pm, "ah...@cs.ucla.edu"  wrote:
> Hi,
>
> I don't know very much about django, except that a piece of software
> that one of my colleagues developed requires it to function properly.
>
> My problem is as follows : I have inherited responsibility for
> installing the aforementioned software on a pre-existing webserver
> which already hosts more than one site.  The server has been installed
> and maintained by an ad-hoc group of researchers, insofar as I can
> determine.  I need to install deploy Django for the piece of software
> on this server without clobbering any pre-existing websites.
>
> I have successfully* installed and configured** Django with Apache and
> mod_wsgi and Python2.6 on a CentOS machine.  However, when I enable
> django in the apache configuration file, one of two things happens :
> (1) the congratulations you installed django page appears on all or
> most webpages on the server (2) the congratulations you installed
> Django page is inaccessible.
>
> Neither of these outcomes solves my problems...
>
> What would be the recommended way to allow django and the rest of the
> sites to coexist?  Do I need virtual hosts and a separate URL?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/django-users?hl=en.

You'll want a vhost setup (most likely).  Slicehost has some great
articles on Apache Virtual Hosts and CentOS (http://
articles.slicehost.com/2008/12/12/centos-apache-virtual-hosts-1).
You'll either want a brand spanking new domain name, or subdomain your
existing domain name.

You may want to look into running the application in virtualenv
(http://pypi.python.org/pypi/virtualenv).  Perhaps with the --no-site-
packages flag for more isolation from the global system.  It sounds
like your issue has more to do with how your handling your Apache
configuration than anything though, so perhaps running your Django app
in a virtualenv may not be necessary.  If you do go this route, you'll
need to spend some time with the WSGI docs (which are excellent) and
WSGI's support for Python virtual environments (http://code.google.com/
p/modwsgi/wiki/VirtualEnvironments).

Good luck!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.