Re: Interesting Django project folder structure.

2014-04-21 Thread Mrinmoy Das
Hi,

The suggested folder structure is the standard stuff that is generally
used. I personally and all the teams I have worked with uses this
particular structure.

sent form mobile, apologies for the brevity
On Apr 21, 2014 7:30 PM, "Tianyi Wang"  wrote:

Today I was reading through
http://www.deploydjango.com/django_project_structure (great resource)

The suggested folder structure for a Django project from this site is like
below:
(I'm only interested in layout for Django apps, not requirements files or
settings files)

myproject
|-- manage.py

|-- requriements.txt
|-- *myproject*
|-- __init__.py

|-- settings.py
|-- urls.py
|-- wsgi.py

|
`-- *apps*

|-- __init__.py

|-- *app_one*

|   |-- __init__.py
|   |-- models.py
|   |-- views.py
|   `-- urls.py
`-- *app_two*
|-- __init__.py
|-- models.py
|-- views.py
`-- urls.py


My current setup is like below:

myproject
|-- manage.py

|-- requirements.txt
|-- *myproject*
|   |-- __init__.py
|   |-- settings.py
|   |-- urls.py
|   `-- wsgi.py
`-- *app_one*
|   |-- __init__.py
|   |-- models.py
|   |-- views.py
|   `-- urls.py
`-- *app_two*
|-- __init__.py
|-- models.py
|-- views.py
`-- urls.py


The reason for the first layout is to categorise the apps,

so one can have a "apps" folder contains all the custom apps;

"libs" folder contains all the lib/helper apps and such.


Do you guys think it's a good idea?


Cheers


Tianyi

 --
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/37ecd6cb-6dcc-431e-ae39-3814dbf647de%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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MOd717GeiXqFSVhXg8PgdRj-F7Nb0pMmg8FS%2BYQoPVkcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[OT] How to get rid of caching completely

2014-03-23 Thread Mrinmoy Das
Hi,

This is a totally off topic question but is there a way to stop caching at
all level?

I have added

*expires -1;*
*add_header Cache-Control "private, must-revalidate, max-age=0";*
*add_header Last-Modified "";*

this on my nginx server block, but there are still some caching are
happening.  Any way to get rid of that completely. :)

Mrinmoy Das
http://goromlagche.in/

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MMiWktOopf443n8ayx%2BTvqLFzbAyyYdqgcvWDc8Mh6-cA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Duplicate Column name Django south migration Error

2014-01-13 Thread Mrinmoy Das
You have a duplicate field, remove it. Whats the exact problem?

Mrinmoy Das
http://goromlagche.in/


On Mon, Jan 13, 2014 at 2:47 PM, Vishnu Cherumadathil <
vishnu.say...@gmail.com> wrote:

> The error was: (1060, "Duplicate column name 'address_ar'")
>  ! Error found during real run of migration! Aborting.
>
>  ! Since you have a database that does not support running
>  ! schema-altering statements in transactions, we have had
>  ! to leave it in an interim state between migrations.
>
> ! You *might* be able to recover with:   - no dry run output for
> delete_foreign_key() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `address_ar`
> CASCADE; []
>- no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `block_ar`
> CASCADE; []
>- no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `streat_ar`
> CASCADE; []
>- no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `house_ar`
> CASCADE; []
>- no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `ad_direction_ar`
> CASCADE; []
>- no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `build_num_ar`
> CASCADE; []
>- no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `floor_ar`
> CASCADE; []
>- no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `flat_ar` CASCADE;
> []
>= ALTER TABLE `vendor_product` ADD COLUMN `details_en` longtext NULL; []
>- no dry run output for alter_column() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_product` ADD COLUMN `p_name_en` varchar(100)
> NULL; []
>- no dry run output for alter_column() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_product` ADD COLUMN `description_en` longtext
> NULL; []
>- no dry run output for alter_column() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendorprofile` ADD COLUMN `shop_name_en`
> varchar(100) NULL; []
>- no dry run output for alter_column() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendorprofile` ADD COLUMN `description_en`
> longtext NULL; []
>- no dry run output for alter_column() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendorprofile` ADD COLUMN `owner_name_en`
> varchar(100) NULL; []
>- no dry run output for alter_column() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendorprofile` ADD COLUMN `details_en` longtext
> NULL; []
>- no dry run output for alter_column() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_vendorprofile` ADD COLUMN `contact_name_en`
> varchar(100) NULL; []
>- no dry run output for alter_column() due to dynamic DDL, sorry
>= ALTER TABLE `vendor_subcategory` ADD COLUMN `name_en` varchar(200)
> NULL; []
>- no dry run output for alter_column() due to dynamic DDL, sorry
>
>  ! The South developers regret this has happened, and would
>  ! like to gently persuade you to consider a slightly
>  ! easier-to-deal-with DBMS (one that supports DDL transactions)
>  ! NOTE: The error which caused the migration to fail is further up.
> Error in migration:
> vendor:0052_auto__add_field_vendoraddressbook_address_ar__add_field_vendoraddressb
>
> --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a5bcd037-ebfc-4ee9-856e-40c6953a66fe%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MPVdnFQpO4TWm7gN4hnDNfePqk-YL7CW4PUR2fNn1ZmKw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: ImportError: No module named django.core

2014-01-13 Thread Mrinmoy Das
activate your virtualenv.

Mrinmoy Das
http://goromlagche.in/


On Mon, Jan 13, 2014 at 5:47 PM, <radse...@gmail.com> wrote:

> I get this error while creating New Project.
>
> radhika$ django-admin.py startproject housing
>
> Traceback (most recent call last):
>
>   File "/usr/local/bin/django-admin.py", line 2, in 
>
> from django.core import management
>
> ImportError: No module named django.core
>
> Any suggestions on this please. Thank you.
>
> --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/7c9e503e-8127-4b8d-8f45-78ab71e3d14a%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MMU1ZCY-m4ZutPx3cv2q1xmoMbzsQ5iu99_txabZN0Gog%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: building multiple dynamic websites on the fly

2014-01-07 Thread Mrinmoy Das
Hi,

Is there a pure django solution towards this problem?


Mrinmoy Das
http://goromlagche.in/


On Tue, Jan 7, 2014 at 6:49 PM, Rafael E. Ferrero
<rafael.ferr...@gmail.com>wrote:

>
> 2014/1/7 Mrinmoy Das <mrinmoy.da...@gmail.com>
>
>> Yeah I am working with django. Thing is I want the users to have their
>> own domain names. Which I will store on my database and there site will be
>> running on that domain name. But all these will be under a single django
>> project. So how do I solve the urls and domain names?
>>
>> Mrinmoy Das
>> http://goromlagche.in/
>>
>> Maybe you must to create an script for create DNS config files ?
> If the user want to use his own .com or .net or whatever... they must to
> point his domain to a DNS Service... if you has your own domain and every
> user has his own SUBdomain from you then you must create that on your own
> DNS.
>
> Hope to help you!
>
>
>>
>> On Tue, Jan 7, 2014 at 6:25 PM, Mark Moss <care4m...@gmail.com> wrote:
>>
>>> So, you are trying to create a "website builder". instead of asking how
>>> to build the entire project, break the project into smaller chunks (like,
>>> login, profile mgmt, site creator, preview manager etc). Then start
>>> building it yourself and start asking your questions when you face
>>> challenges.
>>>
>>> -
>>> - Mark
>>> Try *Pre-installed Django Framework
>>> <http://www.gigapros.com/portal/django-hosting>* that works instantly
>>> out-of-the box!
>>>
>>> --
>>> 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 http://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/1f49e1a2-f92f-477a-a8e2-6f5f00978106%40googlegroups.com
>>> .
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
>> 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 http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAFWA-MP8tB0uKrb8zRdym%2BXSSv%2BX3KHk6UZ8B6D-9jSYb%3DC0Vg%40mail.gmail.com
>> .
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Rafael E. Ferrero
>
> --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJJc_8V1rJQPQvph83UORPRh_0-yZ-YdMu5A5iO_PYJvg9C-PA%40mail.gmail.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MOXmT9o7oUSx0dCP0ZzUt6m4vZCyLuNk2dAXJvXUEFirw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: building multiple dynamic websites on the fly

2014-01-07 Thread Mrinmoy Das
Yeah I am working with django. Thing is I want the users to have their own
domain names. Which I will store on my database and there site will be
running on that domain name. But all these will be under a single django
project. So how do I solve the urls and domain names?

Mrinmoy Das
http://goromlagche.in/


On Tue, Jan 7, 2014 at 6:25 PM, Mark Moss <care4m...@gmail.com> wrote:

> So, you are trying to create a "website builder". instead of asking how to
> build the entire project, break the project into smaller chunks (like,
> login, profile mgmt, site creator, preview manager etc). Then start
> building it yourself and start asking your questions when you face
> challenges.
>
> -
> - Mark
> Try *Pre-installed Django Framework
> <http://www.gigapros.com/portal/django-hosting>* that works instantly
> out-of-the box!
>
> --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1f49e1a2-f92f-477a-a8e2-6f5f00978106%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MP8tB0uKrb8zRdym%2BXSSv%2BX3KHk6UZ8B6D-9jSYb%3DC0Vg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


building multiple dynamic websites on the fly

2014-01-07 Thread Mrinmoy Das
Hi,

I am thinking of building an application which will enable users to build
their own websites on the fly. On my app you will need to sign-up and then
from their you can make your own websites from your profile (with your own
domain name). Can anyone guide me on the right way?


Mrinmoy Das
http://goromlagche.in/

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MMvS4%3Drfsr0yTPf-FFx4VjpL2pFvNbO8nRH%2B4AOSSuJMg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


How to set form count to 1 in jquery formset?

2014-01-04 Thread Mrinmoy Das
hi,

I am using jqury formset for django formset factory. Problem is the form
count depends on TOTAL_FORMS. That means if I add 3forms, in the next GET
request the page loads with 3 forms and when i click on add-row, again
3forms are added at once, but I want to add only one form. Any help?

Mrinmoy Das
http://goromlagche.in/

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MMy6r_RAe5bihBOw5Y6igY%3DTcdasmSjF%3DEXpoSw%2BRKhgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Inserting image alongwith text in django's TextField

2013-12-23 Thread Mrinmoy Das
Hi Vijay,

Use something which allows you to do that.

There are a bunch of tools available

https://www.djangopackages.com/grids/g/wysiwyg/


Mrinmoy Das
http://goromlagche.in/


On Mon, Dec 23, 2013 at 3:11 PM, vijay shanker <deont...@gmail.com> wrote:

> Hi
> I am trying to insert images in between of text (basically an article with
> images interspersed in between) with django's TextField so that i can add
> and position the image in the TextField box in admin.I tried tinymce's
> tinymce_models.HTMLField() for body field of my Article model but it did
> not have any option to insert image in between of article object.How can i
> accomplish it ?
> Regards
> Vijay
>
> --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/86aee995-aaa1-4f03-8980-99c09e2e61c9%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MPkGBiDUeCNK-wXde03cNaZu5X5XD9zvk12coDOCHO27A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Django Custom Widget throwing error

2013-12-21 Thread Mrinmoy Das
I have this form and custom widget


class BidDateWidget(widgets.DateInput):
"""
Renders a Twitter Bootstrap Date Input.
"""
class Media:
css = ("{{ STATIC_URL }}stylesheet/datetimepicker.css")
js = ("{{ STATIC_URL }}js/bootstrap-datetimepicker.js")

def render(self, name, value, attrs=None):
if value is None: value = ''
final_attrs = self.build_attrs(attrs, type="text", name=name)
if final_attrs.get('class'):
final_attrs['class'] = final_attrs['class'] + ' input-small'
if final_attrs.get('disabled'):
datepicker_css_class = 'input-append'
else:
datepicker_css_class = 'input-append date'
# only add value attribute if value is non-empty
final_attrs['value'] = value

html = '''

Bid Ending Date

<input{0} />





'''
return mark_safe(html.format(flatatt(final_attrs),
datepicker_css_class))

class BidTimeWidget(widgets.TimeInput):
"""
Renders a Twitter Bootstrap Date Input.
"""
class Media:
css = ("{{ STATIC_URL }}stylesheet/bootstrap-timepicker.min.css")
js = ("{{ STATIC_URL }}js/bootstrap-timepicker.min.js")

def render(self, name, value, attrs=None):
final_attrs = self.build_attrs(attrs, type="text", name=name)
final_attrs['class'] = "input-small time"
final_attrs['id'] = "datetime2"
final_attrs['type'] = "text"
if value is None:
final_attrs['value'] = ''
else:
final_attrs['value'] =  datetime.datetime.strptime(value,
"%H:%M %p").time()

timepicker_css_class = 'input-append'

html = '''

Bid Ending Time







'''
return mark_safe(html.format(flatatt(final_attrs),
timepicker_css_class))


class BidSplitDateTime(forms.SplitDateTimeWidget):
"""
A SplitDateTime Widget that has some admin-specific styling.
"""
def __init__(self, attrs=None):
widgets = [BidDateWidget,BidTimeWidget]
# Note that we're calling MultiWidget, not SplitDateTimeWidget,
because
# we want to define widgets.
forms.MultiWidget.__init__(self, widgets, attrs)

def format_output(self, rendered_widgets):
return mark_safe(u'%s %s' % \
(rendered_widgets[0], rendered_widgets[1]))


class BidCreateForm(forms.ModelForm):
required_css_class = 'required'
def __init__(self, *args, **kwargs):
user = kwargs.pop('vehicles_available')
super(BidCreateForm, self).__init__(*args, **kwargs)
self.fields['vehicles_available'].queryset =
CarrierVehicle.objects.filter(carrier__user=user)
self.fields['vehicles_available'].help_text = None

class Meta:
model = Bid
exclude = ('created_on', 'created_by', 'created_from',
   'last_modified_on', 'last_modified_by',
'last_modified_from',
   'job', 'accepted', 'spam', )
fields = ('one_liner', 'quote_price', 'message',
'vehicles_available','bid_ending_in' )
widgets = {
'one_liner': forms.TextInput(attrs={'class': 'span8'}),
'quote_price': forms.TextInput(attrs={'class': 'span10'}),
'message': forms.Textarea(attrs={'class': 'span10', 'rows':
'6'}),
'vehicles_available' : forms.CheckboxSelectMultiple(),
    'bid_ending_in' : BidSplitDateTime()
}



Thing is whenever I am posting this form, it goes to form-invalid, and
returns this error


bid_ending_inEnter a
valid date/time.



Any Help?

Mrinmoy Das
http://goromlagche.in/

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MOMkHHOeaCBJJd_n_wnBp3zqCth2SRa0duUmDEmtGP_tw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: HTML format-able inputbox

2013-12-20 Thread Mrinmoy Das
Yeah you want it? Its on my github <https://github.com/goromlagche/my-site>,
there are actually a lot of junk in the code base, you know some half done
broken stuff. Let me know  which specific part you want.

Mrinmoy Das
http://goromlagche.in/


On Fri, Dec 20, 2013 at 4:55 PM, Mario Hari <marimuthuvisvesvar...@gmail.com
> wrote:

> Mrinmoy Das,
>
>   your site is cool man! do you have the site code
> hosted anywhere.
> Mario
>
>
> On Friday, December 20, 2013 10:30:02 AM UTC+5:30, Mrinmoy Das wrote:
>
>> Thanks man :)
>>
>> Mrinmoy Das
>> http://goromlagche.in/
>>
>>
>> On Fri, Dec 20, 2013 at 4:01 AM, Russell Keith-Magee <
>> rus...@keith-magee.com> wrote:
>>
>>> Hi Mrinmoy,
>>>
>>> There isn't anything baked into Django itself, but there are plenty of
>>> third-party packages that have this feature. You can get a fairly big list
>>> of them here:
>>>
>>> https://www.djangopackages.com/grids/g/wysiwyg/
>>>
>>> Yours,
>>> Russ Magee %-)
>>>
>>>
>>>
>>> On Thu, Dec 19, 2013 at 2:43 PM, Mrinmoy Das <mrinmo...@gmail.com>wrote:
>>>
>>>> Is there a django forms widget or something which html format-able
>>>> input box, like gmail? Something in where we can add a list or an image
>>>> inside a textbox.
>>>>
>>>>
>>>> Mrinmoy Das
>>>> http://goromlagche.in/
>>>>
>>>> --
>>>> 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 post to this group, send email to django...@googlegroups.com.
>>>>
>>>> Visit this group at http://groups.google.com/group/django-users.
>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>> msgid/django-users/CAFWA-MNLS2RuWo%3DeA1e80E6RO4zd_
>>>> v1ZaEnrZ4Ki1Boitz0OCA%40mail.gmail.com.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>  --
>>> 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 post to this group, send email to django...@googlegroups.com.
>>>
>>> Visit this group at http://groups.google.com/group/django-users.
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/django-users/CAJxq8480qos5AAHEjSED5DY1uvOwK
>>> dnwg0mQSCx%3DLebXZFSE_g%40mail.gmail.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/2f60ea91-8f6b-4cf1-b2bc-5a8dfc1fa5e0%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MNAtES9mE_35hKp_v3g6yAFrZ5NnDceCiG1C30Y6VOM9A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: HTML format-able inputbox

2013-12-19 Thread Mrinmoy Das
Thanks man :)

Mrinmoy Das
http://goromlagche.in/


On Fri, Dec 20, 2013 at 4:01 AM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:

> Hi Mrinmoy,
>
> There isn't anything baked into Django itself, but there are plenty of
> third-party packages that have this feature. You can get a fairly big list
> of them here:
>
> https://www.djangopackages.com/grids/g/wysiwyg/
>
> Yours,
> Russ Magee %-)
>
>
>
> On Thu, Dec 19, 2013 at 2:43 PM, Mrinmoy Das <mrinmoy.da...@gmail.com>wrote:
>
>> Is there a django forms widget or something which html format-able input
>> box, like gmail? Something in where we can add a list or an image inside a
>> textbox.
>>
>>
>> Mrinmoy Das
>> http://goromlagche.in/
>>
>> --
>> 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 http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAFWA-MNLS2RuWo%3DeA1e80E6RO4zd_v1ZaEnrZ4Ki1Boitz0OCA%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJxq8480qos5AAHEjSED5DY1uvOwKdnwg0mQSCx%3DLebXZFSE_g%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MPOekW0AWAO9O0k53rcfS_ZZ5mt2GcJ1vaTPshwgF_wYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


HTML format-able inputbox

2013-12-18 Thread Mrinmoy Das
Is there a django forms widget or something which html format-able input
box, like gmail? Something in where we can add a list or an image inside a
textbox.


Mrinmoy Das
http://goromlagche.in/

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MNLS2RuWo%3DeA1e80E6RO4zd_v1ZaEnrZ4Ki1Boitz0OCA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [non-techinacal question][like a job offer for junior] a bit of development for fun and some money

2013-12-11 Thread Mrinmoy Das
Hi Rush,

I have about 5-6 months of experience on working with django. 

This my profile http://goromlagche.in/resume#experience

You can contact me on this mail mrinmoy.da...@gmail.com  

On Wednesday, December 11, 2013 11:45:21 PM UTC+5:30, rush wrote:
>
> Hi,
>  
> First of all sorry for using development maillist for a kind of job offer.
> Also if you're experienced senior django developer, please skip this 
> message. It won't be interesting for you.
>  
> However if you're a junior developer with some free time and a desire to 
> learn django a bit deeper, you're welcome.
> Unfortunately there is not much money I can offer at the first time ( and 
> I even do not know, if project will make some profit after going live ).
> Two words about the project:
>   There is a small project written in django. The development is still in 
> progress.
>   There is no rocket science used in it, but it needs some features and 
> its number is growing.
>   The project itself is educational. It has two parts: an application for 
> learning some subjects ( videos and tests ) and an application for 
> communication between students ( private messages, photos and so on ).
>   Unfortunately the project itself is not opensources ( but it might be in 
> the future ).
>
> So, if you're still interesting, please, contact me directly via this 
> email.
>  
> -- 
> wbr,
> rush.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ec1872a5-fa4f-4ecf-ae0a-478b2a4d58d6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: ManyToMany field creation problem

2013-12-09 Thread Mrinmoy Das

Hi,

Sorry Daniel for bothering, my understanding of many to many field was 
pretty shaky :)

On Monday, December 9, 2013 5:02:13 PM UTC+5:30, Tom Evans wrote:
>
> On Fri, Dec 6, 2013 at 9:42 AM, Mrinmoy Das 
> <mrinmo...@gmail.com> 
> wrote: 
> > I cant get the field 
> > 
> > 
> > unit_price = models.ManyToManyField(UnitType,through=UnitPrice, 
> blank=True, 
> > null=True) 
> > 
> > in Property table. 
> > 
> > After adding the field, I tried doing a schemamigration, but output says 
> > "No change has been done" 
> > 
>
> This is because adding that field results in no change - no columns 
> need to be added to any tables, no columns need to be removed from any 
> tables and no tables need to be created. 
>
> Adding the unit_price field to Property simply informs Django to 
> create the appropriate properties on the python models so that you can 
> access the related models, and so South, being a tool for managing 
> database schema changes, has nothing to do. 
>
> Cheers 
>
> Tom 
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/92ef6686-d643-4a23-8edb-8c7727f7b6c4%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Looking for a job as a junior django developer or internship (remote)

2013-12-09 Thread Mrinmoy Das
Hi,

Looking for a job or internship opportunities as a junior django developer 
(remote).

I have about 5months of experience on working with django (
http://goromlagche.in/resume#experience).

My mail id is mrinmoy.da...@gmail.com.

Regards
Mrinmoy Das
http://goromlagche.in/

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4cd07786-b7ef-4f01-9b61-a26eacd915f4%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: ManyToMany field creation problem

2013-12-06 Thread Mrinmoy Das
Hi Daniel,

I can always add a field manually, question is why does not south does it.
:)

Mrinmoy Das
http://goromlagche.in/


On Sat, Dec 7, 2013 at 12:09 AM, Daniel Roseman <dan...@roseman.org.uk>wrote:

> As I've already said, you don't need any help. If the through table is
> created, *that is all you need*.
> --
> DR.
>
> --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8ef938a7-13f2-4b4f-9a2d-43c809f8eacb%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MOUp2Zview8Uk%3DRafxhEF737cknLggPh7s7D76zOCtUtw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: ManyToMany field creation problem

2013-12-06 Thread Mrinmoy Das
Any help guys??

Mrinmoy Das
http://goromlagche.in/


On Fri, Dec 6, 2013 at 8:21 PM, Chi Tak Lam <ctak...@gmail.com> wrote:

> I think you should do a
>
> python manage.py migrate property
>
> after
>
> python manage.py schemamigration property --auto?
>
>
> On Friday, December 6, 2013 3:44:27 PM UTC+8, Mrinmoy Das wrote:
>>
>> Hi,
>>
>> I have these tables
>>
>>
>> on apps/common/models.py
>>
>>
>> class UnitType(models.Model):
>> title = models.CharField(max_length=50)
>>
>> def __unicode__(self):
>> return u'%s' % self.title
>>
>> class UnitPrice(models.Model):
>> project = models.ForeignKey('property.Property')
>> unit_type = models.ForeignKey(UnitType)
>>
>> five_year_target_price = models.CharField(max_length=50, blank=True,
>> null=True)
>> per_sqft_price = models.CharField(max_length=50, blank=True,
>> null=True)
>> total_price = models.CharField(max_length=50, blank=True, null=True)
>>
>> total_area = models.CharField(max_length=140, blank=True, null=True)
>> carpet_area = models.CharField(max_length=140, blank=True, null=True)
>>
>>  def __unicode__(self):
>> return u'%s' % self.title
>>
>>
>>
>> and on apps/property/models.py
>>
>>
>> class Property(Base):
>> .
>> .
>> unit_price = models.ManyToManyField(UnitType,through=UnitPrice,
>> blank=True, null=True)
>>
>> .
>> .
>>
>>
>>
>> after adding the unit price field I did  a migration
>>
>>   python manage.py schemamigration property --auto
>>
>> I am getting this output
>>
>>Nothing seems to have changed.
>>
>> the through table is created,  i have checked that.
>>
>>
>>  Table "public.common_unitprice"
>>  Column |  Type
>> |   Modifiers
>> ++--
>> -
>>  id | integer| not null default
>> nextval('common_unitprice_id_seq'::regclass)
>>  project_id | integer| not null
>>  unit_type_id   | integer| not null
>>  five_year_target_price | character varying(50)  |
>>  per_sqft_price | character varying(50)  |
>>  total_price| character varying(50)  |
>>  total_area | character varying(140) |
>>  carpet_area| character varying(140) |
>> Indexes:
>> "common_unitprice_pkey" PRIMARY KEY, btree (id)
>> "common_unitprice_project_id" btree (project_id)
>> "common_unitprice_unit_type_id" btree (unit_type_id)
>> Foreign-key constraints:
>> "project_id_refs_id_7c43d44c" FOREIGN KEY (project_id) REFERENCES
>> property_property(id) DEFERRABLE INITIALLY DEFERRED
>> "unit_type_id_refs_id_1a1f3765" FOREIGN KEY (unit_type_id)
>> REFERENCES common_unittype(id) DEFERRABLE INITIALLY DEFERRED
>>
>>
>>
>>
>>
>>
>> Any help??
>>
>>
>> Mrinmoy Das
>> http://goromlagche.in/
>>
>  --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/96bce83f-11bf-453b-b6d9-db2b8644c6c4%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MMsFzLvpAZpB0YgZ3L7RijXvKTz6cYR7g4bVdR%2BdzHJEg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: ManyToMany field creation problem

2013-12-06 Thread Mrinmoy Das
I cant get the field

unit_price = models.ManyToManyField(UnitType,through=UnitPrice, blank=True,
null=True)

in Property table.

After adding the field, I tried doing a schemamigration, but output says
"No change has been done"



Mrinmoy Das
http://goromlagche.in/


On Fri, Dec 6, 2013 at 3:04 PM, Daniel Roseman <dan...@roseman.org.uk>wrote:

> On Friday, 6 December 2013 07:44:27 UTC, Mrinmoy Das wrote:
>>
>> Hi,
>>
>> I have these tables
>>
>>
>> on apps/common/models.py
>>
>>
>> class UnitType(models.Model):
>> title = models.CharField(max_length=50)
>>
>> def __unicode__(self):
>> return u'%s' % self.title
>>
>> class UnitPrice(models.Model):
>> project = models.ForeignKey('property.Property')
>> unit_type = models.ForeignKey(UnitType)
>>
>> five_year_target_price = models.CharField(max_length=50, blank=True,
>> null=True)
>> per_sqft_price = models.CharField(max_length=50, blank=True,
>> null=True)
>> total_price = models.CharField(max_length=50, blank=True, null=True)
>>
>> total_area = models.CharField(max_length=140, blank=True, null=True)
>> carpet_area = models.CharField(max_length=140, blank=True, null=True)
>>
>>  def __unicode__(self):
>> return u'%s' % self.title
>>
>>
>>
>> and on apps/property/models.py
>>
>>
>> class Property(Base):
>> .
>> .
>> unit_price = models.ManyToManyField(UnitType,through=UnitPrice,
>> blank=True, null=True)
>>
>> .
>> .
>>
>>
>>
>> after adding the unit price field I did  a migration
>>
>>   python manage.py schemamigration property --auto
>>
>> I am getting this output
>>
>>Nothing seems to have changed.
>>
>> the through table is created,  i have checked that.
>>
>>
>>  Table "public.common_unitprice"
>>  Column |  Type
>> |   Modifiers
>> ++--
>> -
>>  id | integer| not null default
>> nextval('common_unitprice_id_seq'::regclass)
>>  project_id | integer| not null
>>  unit_type_id   | integer| not null
>>  five_year_target_price | character varying(50)  |
>>  per_sqft_price | character varying(50)  |
>>  total_price| character varying(50)  |
>>  total_area | character varying(140) |
>>  carpet_area| character varying(140) |
>> Indexes:
>> "common_unitprice_pkey" PRIMARY KEY, btree (id)
>> "common_unitprice_project_id" btree (project_id)
>> "common_unitprice_unit_type_id" btree (unit_type_id)
>> Foreign-key constraints:
>> "project_id_refs_id_7c43d44c" FOREIGN KEY (project_id) REFERENCES
>> property_property(id) DEFERRABLE INITIALLY DEFERRED
>> "unit_type_id_refs_id_1a1f3765" FOREIGN KEY (unit_type_id)
>> REFERENCES common_unittype(id) DEFERRABLE INITIALLY DEFERRED
>>
>>
>>
>>
>>
>>
>> Any help??
>>
>>
>> Mrinmoy Das
>> http://goromlagche.in/
>>
>
>
> What else are you expecting? If the through table is created, that's all
> you need.
> --
> DR.
>
> --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/0b766e73-adf4-42a9-9085-524687de9f50%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MNzc%2B4N1aqLEOwp81w-aNftuRivag_strKjMonRHSAj8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


ManyToMany field creation problem

2013-12-05 Thread Mrinmoy Das
Hi,

I have these tables


on apps/common/models.py


class UnitType(models.Model):
title = models.CharField(max_length=50)

def __unicode__(self):
return u'%s' % self.title

class UnitPrice(models.Model):
project = models.ForeignKey('property.Property')
unit_type = models.ForeignKey(UnitType)

five_year_target_price = models.CharField(max_length=50, blank=True,
null=True)
per_sqft_price = models.CharField(max_length=50, blank=True, null=True)
total_price = models.CharField(max_length=50, blank=True, null=True)

total_area = models.CharField(max_length=140, blank=True, null=True)
carpet_area = models.CharField(max_length=140, blank=True, null=True)

 def __unicode__(self):
return u'%s' % self.title



and on apps/property/models.py


class Property(Base):
.
.
unit_price = models.ManyToManyField(UnitType,through=UnitPrice,
blank=True, null=True)

.
.



after adding the unit price field I did  a migration

  python manage.py schemamigration property --auto

I am getting this output

   Nothing seems to have changed.

the through table is created,  i have checked that.


 Table "public.common_unitprice"
 Column |  Type
|   Modifiers
++---
 id | integer| not null default
nextval('common_unitprice_id_seq'::regclass)
 project_id | integer| not null
 unit_type_id   | integer| not null
 five_year_target_price | character varying(50)  |
 per_sqft_price | character varying(50)  |
 total_price| character varying(50)  |
 total_area | character varying(140) |
 carpet_area| character varying(140) |
Indexes:
"common_unitprice_pkey" PRIMARY KEY, btree (id)
"common_unitprice_project_id" btree (project_id)
"common_unitprice_unit_type_id" btree (unit_type_id)
Foreign-key constraints:
"project_id_refs_id_7c43d44c" FOREIGN KEY (project_id) REFERENCES
property_property(id) DEFERRABLE INITIALLY DEFERRED
"unit_type_id_refs_id_1a1f3765" FOREIGN KEY (unit_type_id) REFERENCES
common_unittype(id) DEFERRABLE INITIALLY DEFERRED






Any help??


Mrinmoy Das
http://goromlagche.in/

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MOdDbRDc5m-pj07J1cUaKo4MvFc8nfbx1Fz6rbC%2B7m_3A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Admin custom template

2013-11-19 Thread Mrinmoy Das
yup. tried. didnt worked. I am using django 1.6
On Nov 19, 2013 9:17 PM, "Rafael E. Ferrero" <rafael.ferr...@gmail.com>
wrote:

> are you try reading this?
> https://docs.djangoproject.com/en/1.5/ref/contrib/admin/#overriding-admin-templates
>
>
> 2013/11/19 Mrinmoy Das <mrinmoy.da...@gmail.com>
>
>> any help guys?
>>  On Nov 19, 2013 6:54 PM, "Mrinmoy Das" <mrinmoy.da...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I have made a functionality where a user can input address through
>>> google map on a site. Now the thing is, how can I enable the same stuff on
>>> django admin panel? I am using 
>>> django-grappelli<http://code.google.com/p/django-grappelli/>.
>>> Any help guys?
>>>
>>> I have tried this
>>>
>>> http://stackoverflow.com/questions/20023521/django-admin-insert-custom-html-code-for-specific-model-admin
>>>
>>> its not working. Any help? really stuck at this.
>>>
>>> --
>>> 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 http://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/2056e3fc-9fa8-4b0d-b5c2-aa3372e8591f%40googlegroups.com
>>> .
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>  --
>> 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 http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAFWA-MPZADKvztkSsvu1GNr0Hk%2BJd7Zu-C1F486NuSLMAdbfug%40mail.gmail.com
>> .
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Rafael E. Ferrero
>
> --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJJc_8XNw8qc_MhVUK3qvyvrEJ5m6ifXtD3x9_rARNAvgRGf_w%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MMN%2BjAzYi4sbBQPWUr81Y9%3DEcH6qaf6HSLHBdd5LkvUtg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Admin custom template

2013-11-19 Thread Mrinmoy Das
any help guys?
 On Nov 19, 2013 6:54 PM, "Mrinmoy Das" <mrinmoy.da...@gmail.com> wrote:

> Hi,
>
> I have made a functionality where a user can input address through google
> map on a site. Now the thing is, how can I enable the same stuff on django
> admin panel? I am using 
> django-grappelli<http://code.google.com/p/django-grappelli/>.
> Any help guys?
>
> I have tried this
>
> http://stackoverflow.com/questions/20023521/django-admin-insert-custom-html-code-for-specific-model-admin
>
> its not working. Any help? really stuck at this.
>
> --
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/2056e3fc-9fa8-4b0d-b5c2-aa3372e8591f%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MPZADKvztkSsvu1GNr0Hk%2BJd7Zu-C1F486NuSLMAdbfug%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.