Transform words into links with regex

2011-04-28 Thread martinez
Hello. I am using Django 1.3 on Windows XP. I read a tutorial and the code below transforms the words like MyLink into a html link. But the output that I achieved is the HTML markups of the link, not the link itself. How to solve that? Thank you. wikilink = re.compile("\\b([A-Z][a-z]+[A-Z][a-z]+)\

Generic views

2011-01-11 Thread martinez
I would like to know if I could work without generic views. -- 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.

Add error message in admin app. icon_error

2009-04-28 Thread Felipe Martinez
Hi everybody! I'm starting to play around with django and I'm building a simple application with the admin app using admin actions. Every time user uses an admin action, a message shows up confirming the action was successfully exceuted: self.message_user(request, "Action was suc

Error notification in admin site. Should be easy!!!

2009-05-20 Thread Felipe Martinez
Hi, everybody I've done a simple app using admin actions in django's admin site. Everytime somebody executes an action some checks are made and messages are delivered informing about actions result (ok, error, warnig...etc) I'm using message_user for that, but that always returns a green check m

Re: Error notification in admin site. Should be easy!!!

2009-05-20 Thread Felipe Martinez
my error messages > Thank you On 20 mayo, 16:29, Alex Gaynor wrote: > On Wed, May 20, 2009 at 6:24 AM, Felipe Martinez wrote: > > > > > > > Hi, everybody > > > I've done a simple app using admin actions in django's admin site. > > Everytime someb

Re: Missing manage.py & settings.py

2019-03-04 Thread Mario Martinez
Did you run the django-admin startproject your_project_name command? On Fri, Mar 1, 2019, 6:13 PM lujate wrote: > I pip installed a Django project, but it doesn’t have a manage.py or > settings.py. I checked the repo on GitHub, and those files don’t exist > there either. Is this an alternate w

Re: importar datos en tiempo real de una base de datos externa

2020-03-20 Thread Shainny Martinez
Django permite realizar SQL fuera de su ORM, es decir, puedes hacer una confección db externa con el correspondiente código SQL. Lo que te quiero decir es que, puedes escribir un queryset personalizado. Ese es el link directo a la documentación para que sepas cómo hacerlo: https://docs.djangopro

Re: Watch "django blog gets Html tags in public view || blog || blog-detail page." on YouTube

2020-04-18 Thread Shainny Martinez
El martes, 14 de abril de 2020, 8:13:52 (UTC-6), Anonymous Patel escribió: > > https://youtu.be/bdY6R4RPKdE > > > Tu error está en el parámetro de que pasaste a la función redirect > > Incorecto: redirect('home') > > Correcto: redirect('') > > Ya que en tu archivo urls.py le asignaste a HomeVie

¿Como hacer mi primera aplicacion con Django en Ubuntu? ¿How Can I make my first project with Django?

2016-04-02 Thread Kike Martinez
Hola quisiera saber como puedo hacer un proyecto con Djando desde cero gracias -- 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...@googlegr

Problem with Twitter authetication

2018-06-14 Thread Cris Martinez
Hi: I had a problem two days ago, I buid a web site that can authenticate with twitter. I'm using Django 1.8 and all worked very well, but now it crashed with 403 Client Error: Forbidden for url: https://api.twitter.com/oauth/request_token and I don know why. I already changed all tokens and

Re: bootstrap for vertical (two column spam)

2018-12-20 Thread Mario Martinez
Your table heading {% for title in your_list %} {{ title }} {% endfor %} On Wed, Dec 19, 2018, 9:59 PM Ketan Hi, > > > > I am facing challenge for creating UI in html5 for Django project. I > have almost 100 records (not fixed) in one table with column id and > relevant title. I am

Re: Encrypt entire Django project and decrypt in ram to start server.

2023-11-14 Thread Daniel Martinez
A solution for that is add a IP blocker in your server to avoid brutal forces attacks that way you can use. Or a tool for monitoring you traffic such Snoft. Happy coding 😎 On Mon, Nov 13, 2023, 6:54 AM Om Khade wrote: > I want to save my Django project on a shared server in encrypted format >

My first project

2023-12-15 Thread Daniel Martinez
Hello everyone, I'm Daniel, a recent college graduate as of July 2023. Since then, I've been actively seeking job opportunities as a Django developer. During my job search, I took the initiative to start my first project in Django. I'm excited to share with you my debut as a full-stack developer:

Re: My first project

2024-01-06 Thread Daniel Martinez
Hello Om khade Thank you so much for your feedback I was able to resolve and fix the security question in the recovery password and I continue to working in the project. Thank you again for your time and help Sincerely Daniel Martinez On Sat, Dec 16, 2023, 6:44 AM Om Khade wrote: > Hi Dan

Re: Need help in python Django project "online train ticket booking system"

2024-02-22 Thread Daniel Martinez
Hello, what is the problem you are experimenting? Canyou please provide code? On Mon, Feb 19, 2024, 9:21 AM Surya Santhosh wrote: > Need help in python Django project "online train ticket booking system" > > -- > You received this message because you are subscribed to the Google Groups > "Django

PROBLEM WITH ACCESING MY APP WITH -m django runserver WITH DJANGO!!

2019-10-09 Thread Ismael Martinez
hi everyone, i'm currently working on a project on django. but i'm struggeling to acces to my app on the navigator i already tried to change path and tried to work on a virtual env but nothing work . also launch mysql and apache with xampp but this what the terminal say: PS Microsoft.PowerShell.

Re: installation of django

2020-02-11 Thread Shainny Martinez
Hello! In this direction you can find what you are looking for: https://tutorial.djangogirls.org/es/django_installation/ El mar., 11 de feb. de 2020 12:54 PM, Jatin Agrawal escribió: > you must first create a virtual environment and activate it and then > install django in that virtual environme

Re: Best IDE for Django and python?

2008-11-25 Thread Abdel Bolanos Martinez
I think pydev + eclipse + aptana is the best choice, just configure correctly python PATH in pydev so the autocomplete works fine, debug your code with the extra option runserver 8080 --noreload works fine too, create external tools django commands, improve your pages with aptana, use firefox as yo

selected ModelMultipleChoiceField

2008-12-08 Thread Abdel Bolanos Martinez
Hi, i'm new in django and i'm using ModelMultipleChoiceField and all works fine but i need to 'mark' o 'selected' some model objects from the queryset have ever someone did something like that??? Abdel Bolaños Martínez Ing. Infórmatico Telf. 266-8562 5to piso, oficina 526, Edificio Beijing, Mir

no atribute instance in ModelMultipleChoiceField

2008-12-08 Thread Abdel Bolanos Martinez
Why ModelMultipleChoiceField has no atribute 'instance'? how can I select options in a ModelMultipleChoiceField Abdel Bolaños Martínez Ing. Infórmatico Telf. 266-8562 5to piso, oficina 526, Edificio Beijing, Miramar Trade Center. ETECSA --~--~-~--~~~---~--~~ Yo

Re: selected ModelMultipleChoiceField

2008-12-08 Thread Abdel Bolanos Martinez
kwargs): > super(MyForm, self).__init__(*args, **kwargs) > self.fields['end'].initial = bar > > This works for fields with one value. For multiple preselected values, > I don't know, but my first hunch would be to try to use a tuple/list > wi

Re: selected ModelMultipleChoiceField

2008-12-09 Thread Abdel Bolanos Martinez
tipleChoiceField, where I - like I wrote - guess you can use a > tuple of initial values, e.g. ("foo", "bar"). > > /Håkan > > 8 dec 2008 kl. 18.30 skrev Abdel Bolanos Martinez: > > > what I want is use ModelMultipleChoiceField with a queryset but I > &

PDF creation!!!

2008-12-19 Thread Abdel Bolanos Martinez
Please can any one give me good references about tools for create PDF reports, graphs in Django besides RepoLab thanks Abdel Bolaños Martínez Ing. Infórmatico Telf. 266-8562 5to piso, oficina 526, Edificio Beijing, Miramar Trade Center. ETECSA --~--~-~--~~~---~--

Re: Limiting HTTP request size

2008-12-19 Thread Abdel Bolanos Martinez
my friend i can suggest write a custom FileUploadHandler and improve the method receive_data_chunk(self, raw_data, start) and check the data that comes into your server, search in the documentation about write a custom FileUploadHandler, if need more help write now!!! On Fri, 2008-12-19 at 05:

Re: Writing your first Django app

2008-12-29 Thread Abdel Bolanos Martinez
what you have just done until now ??? On Mon, 2008-12-29 at 05:52 -0800, kallep wrote: > This is my first question here. I find it extremely difficult to > follow the "Writing your first Django app tutorial". I'm now stocked > on the third part. Is it possible to see the finished source code

Re: Which IDE do you choose with django?

2008-10-13 Thread Abdel Bolanos Martinez
Eclipse + Pydev + Aptana + SVN = Very good IDE On Mon, 2008-10-13 at 11:09 -0700, Django users wrote: > Geany, small, lighweight, fast, and also supports http, javascript, > etc > Supports plugins and has basic svn support > http://www.geany.org/ > > On Oct 12, 12:19 pm, zjffdu <[EMAIL PROTECT

Strange error in django

2015-04-22 Thread Cristian Javier Martinez
Hi! I'm using the django rest framework and successfully deployed an application in a production environment but I'm having an strange error related to threads when I call a method that performs a simple classification task (using a scikit learn classifier) and I have no idea what is causing th

Re: Strange error in django

2015-04-22 Thread Cristian Javier Martinez
se it never was assigned to.) > > John > > On Apr 22, 2015, at 2:36 PM, Cristian Javier Martinez < > martinezcri...@gmail.com > wrote: > > Hi! I'm using the django rest framework and successfully deployed an > application in a production environment but I'

Re: Generic views

2011-01-11 Thread Dorival Ben Molinari Martinez
Thank you. I am reading the tutorial 'Django - writing your first app'. version 1.2. 2011/1/11 Piotr Zalewa > On 01/11/11 14:02, martinez wrote: > > I would like to know if I could work without generic views. > > > Sure you can - simply define your own in [applicati