It's actually quite easy to test a subdomain setup with the run server and any
web server like Apache or nginx.
I'm commonly using nginx to do this, plus a few entries in my /etc/hosts file:
127.0.0.1 some.domain.localhost
127.0.0.1 other.domain.localhost
And the nginx configuration
On Sat, 26 Jan 2013 17:38:03 -0800 (PST) sephii
wrote:
> Thanks for your answer. I wanted to avoid using a ManyToMany field in
> my case for two reasons:
> 1. The artist table has about 700'000 entries, which is really too
> big to fit in a element
> 2. I could create an autocomplete text widget
Hi, I've written modular class-based views, based on generic views
distributed
with Django, and uploaded the initial version today:
http://lightbird.net/mcbv/
The main difference vs. generic CBVs is that you can easily combine
different
views together, e.g. detail, create, list - in a single
Hi
Just seeking a little clarification.
In the Polls tutorial we get this section.
>>> p = Poll.objects.get(pk=1)
# Display any choices from the related object set -- none so far.>>>
p.choice_set.all()[]
# Create three choices.>>> p.choice_set.create(choice_text='Not much',
votes=0)>>> p.choic
thanks for your help
the from redirected when i used
accept = Pin.objects.get(pin=pin1, serial_no=serial_no1)
but again i discover that a user can view the accept page by typing it on
his or her url
without following the normal process of entering pin and serial no first
how can i stop this,
Hello All,
I wanted to build bookmarking web application using django, in this app
user can not only bookmark the site also they scrape few datas from the
bookmarked page.
Looking for good python/django tools which can help me achieve this aim
Thank you!
--
Cheers,
Ranjith Kumar K,
Chennai.
ht
i have a form that redirect a user to another page
when it validates
but again i discover that a user can view the that page by typing it on his
or her url
without following the normal process of validation
how can i stop this, how can i force a user to see that redirect page only
when he/she
Hello All,
I want to build my career in web development. I have learned CSS,HTML,JS.
Now i am planning to learn either PHP or Dajngo. I have good knowledge in
python.
Which one is good(Django or PHP)?
Thanks and Regards
Vijaya Reddy
--
You received this message because you are subscribed to
Why leave JS? Use node.js or meteor .
PHP has many frameworks any in particular you were referring to Cake,
symfony2, send?
Sayth
On Monday, January 28, 2013, Vijaya Reddy wrote:
> Hello All,
>
> I want to build my career in web development. I have learned CSS,HTML,JS.
> Now i am planning to lea
Man, i work with PHP for 5 years more or less, and Python is the the answer
for my life.
--
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...
Here is my model:
class UserSIMS(models.Model):
TATA_USAHA = 0
DOSEN = 1
MAHASISWA = 2
TYPE_CHOICES = ((TATA_USAHA, 'Tata Usaha'), (DOSEN, 'Dosen'),
(MAHASISWA, 'Mahasiswa'))
user = models.OneToOneField(User)
type = models.IntegerField(choices=TYPE_CHOICES) # 0 = TU 1 = do
If i learn django, is it easy to get jobs?
Easy it possible to develop a site like www.99technuts.com and easy it easy
to get job in google.?
Thanks
Vijay
On Sunday, January 27, 2013 7:40:45 PM UTC-8, Londerson Araújo wrote:
>
> Man, i work with PHP for 5 years more or less, and Python is the
>
Your question final answer is always go with your preference. PHP and
Django is a whole different thing. PHP is a language and Django is a
framework. If I tell you what to choose to build a web app, go for Django
because it is a framework. Code a web app from scratch by PHP is
just tormenting.
Well i would say its all about money and passion for programming.In Web
development you are uncertain which you have to learn next.
My personnel opinion:-
php is a crap. Its a horrible language.
Python well i would say the king of all and the framework Django is amazing.
Thanks
On Mon, Jan 2
Is it possible to get job in companies like Google,Amazon,Cisco,.
On Sun, Jan 27, 2013 at 7:50 PM, Nikhil Verma wrote:
> Well i would say its all about money and passion for programming.In Web
> development you are uncertain which you have to learn next.
>
> My personnel opinion:-
>
> p
@Vijaya, if your preocuppation is a job, mas estudy php, there is a lot for
php guys! 70% more os less of the web is PHP!!
--
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 uns
Google or any other company looks for core python guys not web developer.
If you work on core python skills i think you will have a chance.
Always think work for yourself not for any company. You will learn a lot
and learn quickly.
Thats what people suggests me. Rest is what your stage of life is
Hi
I am using django 1.4.3 and have a field in form
PROFILE_TYPE = (
('public', 'Public'),
('private', 'Private'),
)
profile_type = forms.CharField(max_length=10, widget=RadioSelect
(choices=PROFILE_TYPE),
Hi, Django users,
I am recently building a web service for my iphone app, just wondering if
Django can send push notifications to iPhone.
Thanks
--
⚡ Chen Xu ⚡
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group an
Although, your question is out of topic, let me share my experience. Most
of the times, framework skill is only a plus in your resume. Your algorithm
skill, application design, and analysis is the major component that will
determine that you will be hired or not(if you apply as a software
engin
Hi, I'm pretty noob with Django.
I've readed a few pages of the Django-book and just started to create my
own projects.
When I try to create a new project using django-admin startproject demo, it
just creates 2 things
project
l--demo
l--manage.py
I don't know why it doesn't create the mis
Sorry I made a typo in last email .
Can anybody explain what mistake i am doing ?
Hi
I am using django 1.4.3 and have a field in form
PROFILE_TYPE = (
('public', 'Public'),
('private', 'Private'),
)
profile_type = forms.CharField(max_length=10, widget=RadioSelect
>
On 00:39 -0500 / 28 Jan, Chen Xu wrote:
> I am recently building a web service for my iphone app, just wondering if
> Django can send push notifications to iPhone.
Django has no in-built feature for this, however, you can use 3rd party python
libraries for this.
Please have a look at this blog po
Hey,
Django-book has not been updated for a long time and tutorials you went
through are based on Django 1.0
In Django 1.4, settings.py, urls.py and other project related files are
located under a directory with project name.
In you case if you look into demo/ folder, you will see urls.py and
se
24 matches
Mail list logo